prepSingleFactorModel | R Documentation |
Specify a single latent factor with a path to each item.
prepSingleFactorModel(data, factorScalePrior = deprecated())
data |
a data list prepared for processing by Stan |
factorScalePrior |
a named numeric vector (deprecated) |
a data list suitable for passing as the data
argument to pcStan
or stan
Other factor model:
prepFactorModel()
Other data preppers:
prepCleanData()
,
prepData()
,
prepFactorModel()
dl <- prepData(phyActFlowPropensity)
dl <- prepSingleFactorModel(dl)
str(dl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.