View source: R/measrfit-class.R
as_measrfit | R Documentation |
measrfit
Coerce objects to a measrfit
as_measrfit(x, class = character())
## Default S3 method:
as_measrfit(x, class = character())
x |
An object to be coerced to a |
class |
Additional classes to be added (e.g., |
An object of class measrfit.
See measrfit, measrfit()
, is_measrfit()
.
rstn_mdm_lcdm <- measr_dcm(
data = mdm_data, missing = NA, qmatrix = mdm_qmatrix,
resp_id = "respondent", item_id = "item", type = "lcdm",
method = "optim", seed = 63277, backend = "rstan"
)
new_obj <- as_measrfit(rstn_mdm_lcdm, class = "measrdcm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.