nparams {clarkeTest} | R Documentation |
Find number of parameters in model
Description
Finds the number of parameters that were estimated in each model.
Usage
nparams(model)
## S3 method for class 'glm'
nparams(model)
## S3 method for class 'lm'
nparams(model)
## S3 method for class 'orlm'
nparams(model)
## S3 method for class 'polr'
nparams(model)
## S3 method for class 'clm'
nparams(model)
## S3 method for class 'multinom'
nparams(model)
## S3 method for class 'negbin'
nparams(model)
Arguments
model |
A statistical model object. |
Details
The function funds the number of parameters generally by counting the number of estimated parameters in the model's output.
For the purposes of the clarke_test
function, the nparams
functions are not intended to be called directly by the user.
Value
A scalar giving the number of parameters estimated in the model.
[Package clarkeTest version 0.2.0 Index]