Dear all,
I am trying to create multiple SEM models in a loop - so that if I change the 
data they can easily be re-created rather than re-creating each RAM model line 
by line - therein lies my problem.
I have a dataframe set out as follows1                 Duration -> RC1      
cov1 -0.2563002                      MMSE -> RC1      cov2 -0.0309003           
     RC1 -> Aggression      npi1  0.2310004                    RC1 -> Apathy    
  npi2  0.1043005             RC1 -> Disinhibition      npi3  0.279800 ...
the specifyModel() and specifyEquations() methods need you to manually input 
each line individually. Can I simply supply the SEM method with a matrix like 
the one I have above?
Thanks,George                                     
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to