prepSingleFactorModel {pcFactorStan} | R Documentation |
Specify a single factor model
Description
Specify a single latent factor with a path to each item.
Usage
prepSingleFactorModel(data, factorScalePrior = deprecated())
Arguments
data |
a data list prepared for processing by Stan |
factorScalePrior |
a named numeric vector (deprecated) |
Value
a data list suitable for passing as the data
argument to pcStan
or stan
See Also
Other factor model:
prepFactorModel()
Other data preppers:
prepCleanData()
,
prepData()
,
prepFactorModel()
Examples
dl <- prepData(phyActFlowPropensity)
dl <- prepSingleFactorModel(dl)
str(dl)
[Package pcFactorStan version 1.5.4 Index]