nParams {zinbwave}R Documentation

Generic function that returns the total number of parameters of the model

Description

Given an object that describes a model or a dataset, it returns total number of parameters of the model.

Usage

nParams(model)

## S4 method for signature 'ZinbModel'
nParams(model)

Arguments

model

an object that describes a dataset or a model.

Value

the total number of parameters of the model.

Functions

Examples

a <- zinbModel()
nParams(a)

[Package zinbwave version 1.14.2 Index]