I'm trying to fix some old code in which I extract confidence intenrvals from multiple files in a directory.
I had tried
modelResults <- extractModelParameters("mydirectory",recursive=TRUE)
This generates the message, though:
extractModelParameters has been deprecated. Please use readModels("NameofMplusOutfileDirectory", what="parameters")$parameters to replicate the old functionality.
but when I try:
paramsnew <- readModels("
NameofMplusOutfileDirectory ",recursive=TRUE, what="parameters$ci.stdyx.standardized")
or other permutations, I don't seem to recover them. I'm assuming the $parameters in the console message is some typo.
Any hints, gang? TIA! Phil