dia.rect {psych} | R Documentation |
Path models are used to describe structural equation models or cluster analytic output. These functions provide the primitives for drawing path models. Used as a substitute for some of the functionality of Rgraphviz.
dia.rect(x, y = NULL, labels = NULL, cex = 1, xlim = c(0, 1), ylim = c(0, 1), ...) dia.ellipse(x, y = NULL, labels = NULL, cex=1,e.size=.05, xlim=c(0,1), ylim=c(0,1), ...) dia.ellipse1(x,y,e.size=.05,xlim=c(0,1),ylim=c(0,1),...) dia.arrow(from,to,labels=NULL,scale=1,cex=1,...) dia.curve(from,to,labels=NULL,scale=1,...) dia.self(location,labels=NULL,scale=.8,side=2,...)
x |
x coordinate of a rectangle or ellipse |
y |
y coordinate of a rectangle or ellipse |
e.size |
The size of the ellipse (scaled by the number of variables |
labels |
Text to insert in rectangle, ellipse, or arrow |
cex |
adjust the text size |
scale |
modifies size of rectangle and ellipse |
from |
arrows and curves go from |
to |
arrows and curves go to |
location |
where is the rectangle? |
xlim |
default ranges |
ylim |
default ranges |
side |
Which side of boxes should errors appear |
... |
Most graphic parameters may be passed here |
These functions are the graphic primitives used by fa.diagram
, omega.diagram
, and ICLUST.diagram
. They create rectangles or ellipses surrounding text, connect them to straight or curved arrows, and can draw an arrow from and to the same rectangle.
Each elipse and rectangle has a left, right, top and bottom coordinate that is used to connect the arrows.
These functions were developed to get around the infelicities associated with trying to install Rgraphviz and graphviz.
Better documentation will be added as these functions get improved. Currently the functions are just a work around for Rgraphviz.
Graphic output
William Revelle
fa.diagram
, omega.diagram
, and ICLUST.diagram
.
v9 <- sim.hierarchical() f3 <- fa(v9,3,rotate="cluster") fa.diagram(f3,error=TRUE,side=3)