Skip to contents

Check if argument is a measrfit object

Usage

is_measrfit(x)

Arguments

x

An object to be checked

Value

A logical indicating is x is a measrfit object.

Examples

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"
)

is_measrfit(rstn_mdm_lcdm)
#> [1] TRUE