| npar | R Documentation | 
npar(m) counts the parameters in a cm, nstim(m) counts stimuli, natt(m) counts attributes by stimulus, nobs(m) counts observations in the data of a model.
npar(x) ## S3 method for class 'cm' npar(x, type = "all", ...)
x | 
 a model object  | 
... | 
 ignored  | 
type | 
 A string:   | 
D <- data.frame(x = 1, y = 1, z = 1) M <- bayes_beta(y ~ x + z, D, fix = "start") npar(M) # 3 npar(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.