This function will bootstrap the data (once) and return a new unevaluated psychonetrics object. It requres storedata = TRUE
to be used when forming a model.
bootstrap(x, replacement = TRUE, proportion = 1, verbose = TRUE, storedata = FALSE,
baseline_saturated = TRUE)
An object of the class psychonetrics (psychonetrics-class)
A psychonetrics
model.
Logical, should new samples be drawn with replacement?
Proportion of sample to be drawn. Set to lower than $1$ for subsampling.
Logical, should messages be printed?
Logical, should the bootstrapped data also be stored?
Logical, should the baseline and saturated models be included?
Sacha Epskamp