- x
 
A target lavaan object used in the Bollen-Stine bootstrap
- transformation
 
The transformation methods in Savalei and Yuan (2009).
There are three methods in the article, but only the first two are currently
implemented here.  Use transformation = 1 when there are few missing
data patterns, each of which has a large size, such as in a
planned-missing-data design.  Use transformation = 2 when there are
more missing data patterns. The currently unavailable
transformation = 3 would be used when several missing data patterns
have n = 1.
- nBoot
 
The number of bootstrap samples.
- model
 
Optional. The target model if x is not provided.
- rawData
 
Optional. The target raw data set if x is not
provided.
- Sigma
 
Optional. The model-implied covariance matrix if x is
not provided.
- Mu
 
Optional. The model-implied mean vector if x is not
provided.
- group
 
Optional character string specifying the name of the grouping
variable in rawData if x is not provided.
- ChiSquared
 
Optional. The model's \(\chi^2\) test statistic if
x is not provided.
- EMcov
 
Optional, if x is not provided. The EM (or Two-Stage ML)
estimated covariance matrix used to speed up Transformation 2 algorithm.
- writeTransData
 
Logical. If TRUE, the transformed data set is
written to a text file, transDataOnly is set to TRUE, and the
transformed data is returned invisibly.
- transDataOnly
 
Logical. If TRUE, the result will provide the
transformed data only.
- writeBootData
 
Logical. If TRUE, the stacked bootstrap data
sets are written to a text file, bootSamplesOnly is set to
TRUE, and the list of bootstrap data sets are returned invisibly.
- bootSamplesOnly
 
Logical. If TRUE, the result will provide
bootstrap data sets only.
- writeArgs
 
Optional list. If writeBootData = TRUE or
writeBootData = TRUE, user can pass arguments to the
utils::write.table() function as a list.  Some default values
are provided: file = "bootstrappedSamples.dat", row.names =
FALSE, and na = "-999", but the user can override all of these
by providing other values for those arguments in the writeArgs list.
- seed
 
The seed number used in randomly drawing bootstrap samples.
- suppressWarn
 
Logical. If TRUE, warnings from lavaan
function will be suppressed when fitting the model to each bootstrap sample.
- showProgress
 
Logical. Indicating whether to display a progress bar
while fitting models to bootstrap samples.
- ...
 
The additional arguments in the lavaan::lavaan()
function. See also lavaan::lavOptions()