Description Usage Arguments Value Author(s) See Also Examples
This is a simple convenience function designed to facilitate
looking at specific parameter types by easily return a subset
of a data frame with those types only. It is designed to follow up
the results returned from the readModels
function.
1 2  paramExtract(x, params = c("regression", "loading", "undirected",
"expectation", "variability", "new"))

x 
A data frame (specifically the type returned by 
params 
A character string indicating the types of parameters to be returned.
Options currently include ‘regression’, ‘loading’, ‘undirected’,
‘expectation’, ‘variability’, and ‘new’ for new/additional parameters.
Regressions include regression of one variable

A subset data frame with the parameters of interest.
Joshua F. Wiley <[email protected]>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21  ## Not run:
test < mplusObject(
TITLE = "test the MplusAutomation Package and my Wrapper;",
MODEL = "
mpg ON wt hp;
wt WITH hp;",
usevariables = c("mpg", "wt", "hp"),
rdata = mtcars)
res < mplusModeler(test, "mtcars.dat", modelout = "model1.inp", run = 1L)
# store just the unstandardized parameters in 'd'
d < res$results$parameters$unstandardized
# extract just regression parameters
paramExtract(d, "regression")
# extract other types of parameters using shorthand
paramExtract(d, "u")
paramExtract(d, "e")
paramExtract(d, "v")
## End(Not run)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.