| coef.clmstan | R Documentation |
Returns posterior point estimates (mean or median) for all model parameters.
## S3 method for class 'clmstan'
coef(object, type = c("mean", "median"), ...)
object |
A clmstan object |
type |
Type of point estimate: "mean" (default) or "median" |
... |
Additional arguments (ignored) |
A named numeric vector with:
Threshold coefficients (e.g., "1|2", "2|3", ...)
Regression coefficients (variable names from formula)
## Not run:
fit <- clm_stan(rating ~ temp, data = wine)
coef(fit)
coef(fit, type = "median")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.