plot.pclm: Generic Plot for pclm Class

View source: R/pclm_graphics.R

plot.pclmR Documentation

Generic Plot for pclm Class

Description

Generic Plot for pclm Class

Usage

## S3 method for class 'pclm'
plot(x, xlab, ylab, ylim, type, lwd, col, legend, legend.position, ...)

Arguments

x

An object of class pclm

xlab

a label for the x axis, defaults to a description of x.

ylab

a label for the y axis, defaults to a description of y.

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 \ge 1 to appear in the legend. Other objects will be coerced by as.graphicsAnnot.

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).

See Also

pclm

Examples

# See complete examples in pclm help page

ungroup documentation built on May 29, 2024, 11:55 a.m.