blatentEstimate {blatent}R Documentation

Use blatent to estimate a Bayesian latent variable model. Currently supports estimation of the LCDM (Loglinar Cognitive Diagnosis Model).

Description

Blatantly runs Bayesian latent variable models.

Usage

blatentEstimate(
  dataMat,
  modelText,
  priorsList = NULL,
  options = blatentControl()
)

Arguments

dataMat

A data frame containing the data used for the analysis.

modelText

A character string that contains the specifications for the model to be run. See blatentSyntax or more information about syntax formatting.

priorsList

A list of priors to be placed on parameters of the model. Defaults to NULL. Currently only accepts NULL. All priors not set in priorsList will be set in options using blatentControl via the setDefaultPriors function.

options

A list of options for estimating the model. Use the blatentControl function to specify the options. See blatentControl for more information and default values.

Value

A blatentModel object (an R6 class).


[Package blatent version 0.1.2 Index]