Draw plausible values from an mml fit
Usage
# S3 method for class 'sdf'
drawPVs(
x,
npv = 5L,
pvVariableNameSuffix = "_dire",
stochasticBeta = deprecated(),
data,
construct = NULL,
...
)
Arguments
- x
a fit from a call to
mml.sdf
, or asummary.mml.sdf
, which is asummary
ofmml.sdf
call.- npv
integer indicating the number of plausible values to draw
- pvVariableNameSuffix
suffix to append to the name of the new plausible values
- stochasticBeta
this is deprecated
- data
an
edsurvey.data.frame
orlight.edsurvey.data.frame
to which the plausible values will be added and from which the covariates and item responses will be taken to generate them- construct
the construct to draw PVs for
- ...
additional parameters