Draw plausible values (PVs) from an mml fit
Usage
drawPVs(
x,
npv,
pvVariableNameSuffix = "_dire",
stochasticBeta = deprecated(),
...
)
# S3 method for class 'summary.mmlMeans'
drawPVs(
x,
npv = 5L,
pvVariableNameSuffix = "_dire",
stochasticBeta = deprecated(),
...
)
# S3 method for class 'mmlMeans'
drawPVs(
x,
npv = 5L,
pvVariableNameSuffix = "_dire",
stochasticBeta = deprecated(),
...
)
# S3 method for class 'summary.mmlCompositeMeans'
drawPVs(
x,
npv = 20L,
pvVariableNameSuffix = "_dire",
stochasticBeta = deprecated(),
...
)
# S3 method for class 'mmlCompositeMeans'
drawPVs(
x,
npv = 20L,
pvVariableNameSuffix = "_dire",
stochasticBeta = deprecated(),
...
)
Arguments
- x
a fit from a call to
mml
- npv
integer indicating the number of plausible values to draw
- pvVariableNameSuffix
suffix added to new PV variables after construct name and before the plausible value ID. For example, if there is a construct
math
and the suffix is the default_dire
, then the fourth plausible value would have a column name,math_dire4
.- stochasticBeta
deprecated.
- ...
additional parameters passed on to methods.
Value
the stuDat
attribute of the mml
fit object, x
, with columns for the new plausible values.