[R] path.diagram in SEM--display covariances without variances

John Fox jfox at mcmaster.ca
Wed Nov 9 19:47:28 CET 2011


Dear Dustin,

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Dustin Fife
> Sent: November-09-11 10:57 AM
> To: r-help at r-project.org
> Subject: [R] path.diagram in SEM--display covariances without variances
> 
> Forgive me if I'm posting to the wrong place....It's my first time
> posting.
> 
> Here's the situation: I'm using the sem package and making path
> diagrams using path.diagrams. Suppose I have the following code:
> 
. . .

> The diagram is produces is hard to read because of the many variances
> that are shown. The covariance estimates are important for my diagram,
> but the variances are not. Is there a way to suppress the variance
> arrows without suppressing the covariance arrows?

No, but (1) pathDiagram() (the name of the function in the current version
of the sem package) produces an editable text file, from which you could
remove the arrows that you don't want to see; and (2) you could modify
pathDiagram() -- the code for the function is, after all, available to you
-- so that it does what you want.

I hope this helps,
 John

--------------------------------
John Fox
Senator William McMaster
  Professor of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox



> 
> --
> Dustin Fife
> Graduate Student, Quantitative Psychology University of Oklahoma
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list