View source: R/pclm_graphics.R
plot.pclm | R Documentation |
Generic Plot for pclm Class
## S3 method for class 'pclm'
plot(x, xlab, ylab, ylim, type, lwd, col, legend, legend.position, ...)
x |
An object of class |
xlab |
a label for the x axis, defaults to a description of |
ylab |
a label for the y axis, defaults to a description of |
ylim |
the y limits of the plot. |
type |
1-character string giving the type of plot desired. The following values are possible, for details, see plot: "p" for points, "l" for lines, "b" for both points and lines, "c" for empty points joined by lines, "o" for overplotted points and lines, "s" and "S" for stair steps and "h" for histogram-like vertical lines. Finally, "n" does not produce any points or lines. |
lwd |
Line width, a positive number, defaulting to 2. |
col |
Three colours to be used in the plot for observed values, fitted values and confidence intervals. |
legend |
a character or expression vector
of length |
legend.position |
Legend position, or the x and y co-ordinates to be used to position the legend. |
... |
other graphical parameters (see par for more details). |
pclm
# See complete examples in pclm help page
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.