Hello -
I'm trying to alter script from theworkshop and am receiving the errors below. I am not including sex in my model so I made what I believe are the required changes in the script to eliminate these effects (I also included sex in the text file as '1' for everyone in case I missed something in the script). I'm not sure why I am receiving these errors (particularly the one indicating I have an illegal name as I did not give anything that name so I'm not sure where it is coming from in the script). Any help would be GREATLY appreciated. I attached the script and the text file. Thanks so much!
Jen
Error: The name 'TS11_1.1' is illegal because it contains the '.' character
>
> lgcACEFit <- mxRun(lgcACEModel) # Run Latent Growth Curve ACE model
Error in cat("Running", model@name, "\n") :
object 'lgcACEModel' not found
> lgcACESumm <- summary(lgcACEFit)
Error: object 'lgcACEFit' not found
Error in summary(lgcACEFit) :
error in evaluating the argument 'object' in selecting a method for function 'summary'
> lgcACESumm
Error: object 'lgcACESumm' not found
>
> parameterSpecifications(lgcACEFit)
Error in .collectParameterSpecifications(model) :
object 'lgcACEFit' not found
> expectedMeansCovariances(lgcACEFit)
Error in .collectExpectedMeansCovariances(model, model) :
object 'lgcACEFit' not found
> tableFitStatistics(lgcACEFit)
Error: object 'lgcACEFit' not found
Error in summary(reference) :
error in evaluating the argument 'object' in selecting a method for function 'summary'
>
>