Re: [R] path analysis help

2012-08-30 Thread John Fox
nt of Sociology McMaster University Hamilton, Ontario, Canada > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Jinsong Zhao > Sent: Thursday, August 30, 2012 10:47 AM > To: r-help@r-project.org > Subject: [R] pat

[R] path analysis help

2012-08-30 Thread Jinsong Zhao
Hi there, I searched R-help list with "path analysis" as keyword, and learn that sem package can do it. However, I don't figure out a way to construct the model for the path diagram as Fig. 1. in Huang et al. (2002)[1]. I try the following code: huang.cor <- readMoments(diag=FALSE, names=c('