npars | R Documentation |
Gets the number of parameters of an object.
The default methods returns the length of pars()
if none are
NA
, otherwise it returns NA
.
npars(x, ...) ## Default S3 method: npars(x, ...)
x |
An object. |
... |
Other arguments passed to methods. |
An integer scalar of the number of parameters.
pars()
Other MCMC dimensions:
nchains()
,
niters()
,
nsams()
,
nsims()
,
nterms()
Other parameters:
pars()
,
set_pars()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.