nParams: Generic function that returns the total number of parameters...

nParamsR 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

  • nParams(ZinbModel): returns the total number of parameters in the model.

Examples

a <- zinbModel()
nParams(a)

drisso/zinbwave documentation built on March 18, 2024, 5:13 p.m.