nparam | R Documentation |
This is a generic that returns the number of parameters associated with a model or a model fit.
nparam(object, ...)
## Default S3 method:
nparam(object, ...)
## S3 method for class 'ergm'
nparam(object, offset = NA, ...)
object |
An object for which number of parameters is defined. |
... |
Additional arguments to methods. |
offset |
If |
nparam(default)
: By default, the length of the coef()
vector is returned.
nparam(ergm)
: A method to return the number of parameters of an ergm
fit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.