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

Description Usage Arguments Value Functions Examples

Description

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

Usage

1
2
3
4
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

Examples

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

NewWave documentation built on Dec. 26, 2020, 6 p.m.