| coefplot {FSA} | R Documentation |
Constructs the coefficient plots for performing for Weisberg's Linear Growth Model analyses.
coefplot(object, ...)
## S3 method for class 'WLGM':
coefplot(object,what=c("age","year"),conf.level=0.95,xlab=what,
ylab="Coefficient",ylim=range(d[,data.cols],na.rm=TRUE),
xlim=range(d[,what],na.rm=TRUE),pts.pch=19,pts.cex=1.25,pts.col="black",
con.lwd=3,con.lty=1,con.col="black",ci.lwd=2,ci.lty=1,ci.col="red",
sfrac=0.01,gap=0,zero.lwd=2,zero.lty=3,zero.col="black", ...)
object |
A WLGM object (i.e., returned from the wlgm function). |
what |
A string indicating which type of coefficients should be plotted. Defaults to "age". |
conf.level |
A decimal numeric indicating the level of confidence to use for confidence and prediction intervals. |
xlab |
A string for labeling the x-axis. |
ylab |
A string for labeling the y-axis. |
xlim |
A vector of the limits of the x-axis. |
ylim |
A vector of the limits of the y-axis. |
pts.pch |
The plotting character to be used for the coefficient points. See par. |
pts.cex |
The characther expanstion factor to be used for the coefficient points. See par. |
pts.col |
The color to be used for the coefficient points. See par. |
con.lwd |
The width of the line used to connect the coefficient points. See par. |
con.lty |
The type of line used to connect the coefficient points. See par. |
con.col |
The color of the line used to connect the coefficient points. See par. |
ci.lwd |
The width of the line used for the confidence interval “bars”. See par. |
ci.lty |
The type of line used for the confidence interval “bars”. See par. |
ci.col |
The color of the line used for the confidence interval “bars”. See par. |
sfrac |
Scaling factor for the size of the “serifs” (end bars) on the confidence bars, in x-axis units |
gap |
A logical or numeric giving the size of the gap in error bars around the points (default 0; gap=TRUE gives gap size of 0.01) |
zero.lwd |
The width of the line used for the horizontal line at zero. See par. |
zero.lty |
The type of line used for the horizontal line at zero. See par. |
zero.col |
The color of the line used for the horizontal line at zero. See par. |
... |
Other arguments to be passed to the plot function. |
None. However, a coefficient plot is produced.
Derek H. Ogle, dogle@northland.edu
wlgm and plotCI in plotrix
## see the example for the wlgm function.