Skip to content

data.frame error using sem package

2 messages · Suzanne Witt, John Fox

#
Dear Suzanne,

Take a look at your model specification:
[,1]            [,2]            [,3]
[1,] "LM1 -> LSMA"   "LM1 -> LSMA"   NA  
[2,] "LSMA -> RSMA"  "LSMA -> RSMA"  NA  
[3,] "RSMA -> RM1"   "RSMA -> RM1"   NA  
[4,] "LSMA <-> LSMA" "LSMA <-> LSMA" NA  
[5,] "RSMA <-> RSMA" "RSMA <-> RSMA" NA  
[6,] "RM1 <-> RM1"   "RM1 <-> RM1"   NA
This matrix should have three columns, the first giving the path, the second
the name of the corresponding parameter, and the third the start value for
the parameter (or NA if you want sem() to compute a start value). You've
apparently left out the parameter names. Please see the sem examples for
details and the paper at
<http://socserv.socsci.mcmaster.ca/jfox/sem-package.pdf>.

I hope this helps,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
--------------------------------