This function reads a the BPARAMETERS output file from the Mplus SAVEDATA BPARAMETERS command
and returns an R
Required. The name of the Mplus output file to read. Can be an absolute or relative path.
Optional. Whether to discard the burn-in phase of each MCMC chain (i.e., the first half).
list containing the draws from the MCMC chains for a Bayesian model that uses the
SAVEDATA BPARAMETERS command. Each list element corresponds to a single MCMC chain, as specified by
the ANALYSIS: CHAINS syntax in
Mplus. If discardBurnin is
FALSE, then a superordinate list is
provided that divides output in terms of burn-in versus valid draw halves of the MCMC chains. For documentation
Mplus implements chain convergence checks and MCMC draws, see here: http://www.statmodel.com/download/Bayes3.pdf.
Note that the
outfile parameter should refer to the Mplus output file (.out extension), not the
actual dataset generated by SAVEDATA. This function reads information about the dataset from the .out file
and loads the dataset accordingly.
Michael Hallquist, Florian Boeing-Messing
1 2 3 4
## Not run: fileInfo <- getSavedata_Data("C:/Program Files/Mplus/Test Output.out") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.