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

numberParamsR 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

numberParams(model)

## S4 method for signature 'newmodel'
numberParams(model)

Arguments

model

an object that describes a dataset or a model.

Value

the total number of parameters of the model.

Functions

  • numberParams,newmodel-method: returns the total number of parameters in the model.

Examples

a <- newmodel(n=5, J=10)
numberParams(a)

fedeago/NewWave documentation built on March 28, 2022, 5:46 a.m.