plots {amba} | R Documentation |
plot functions for the amba package
Description
Mostly self-explanatory. The which argument in the plot method for amba, if specified, produces a plot for a single term only, and is sometimes simpler than calling the plot method for the term directly, which may require y values to be specified. Note that plot.interaction doesn't do much (yet), and that currently lines.categorical will cause an error.
Usage
## S3 method for class 'amba':
plot(m, which=NA, ..., index=FALSE)
## S3 method for class 'term':
plot(t, y=NULL, s, newplot=TRUE, main=term.label (t),
lwd=2, col=rgb (0, 0.6, 0.1), ..., index=FALSE)
## S3 method for class 'categorical':
plot(t, y=NULL, s, main=term.label (t),
lwd=2, col=rgb (0, 0.6, 0.1), ..., index=FALSE)
## S3 method for class 'interaction':
plot(t, ...)
## S3 method for class 'term':
lines(t, ...)
## S3 method for class 'categorical':
lines(t, ...)
Arguments
m |
An amba model. |
which |
Which term to plot. If NA, the default, plot all terms. |
t |
A term object. |
y |
Realisations of the response, or partial residuals. |
s |
A symbol for y. Usually it is not necessary to specify this. |
newplot |
Users should not use this, it is used by the lines methods. |
index |
Plot the index of each data point, instead of a circle. |
main |
|
lwd |
|
col |
|
... |
|
[Package
amba version 0.2.0
Index]