ggplot.evmOpt | R Documentation |
Create and display diagnostic plots for an evm object. See plot.evmOpt
for further details on what is being plotted.
## S3 method for class 'evmOpt'
ggplot(
data,
mapping,
which = 1:4,
main = rep(NULL, 4),
xlab = rep(NULL, 4),
nsim = 1000,
alpha = 0.05,
jitter.width = 0,
jitter.height = 0,
ptcol = "blue",
span = 2/3,
col = "light blue",
fill = "orange",
plot. = TRUE,
ncol = 2,
nrow = 2,
...,
environment
)
data |
An object of class |
mapping , environment |
ignored |
which |
Which plots to produce. Defaults to |
main |
Main titles. Should have length 4. |
xlab |
Labels for x-axes. |
nsim |
Number of simulated datasets to create to form tolerance regions. |
alpha |
Used to compute coverage of pointwise confidence intervals. |
jitter.width , jitter.height |
Used to control the amount of
jittering of points in the plots of the residuals versus
covariates (when covariates are in the model). Defaults to
|
ptcol |
Colour for points. Defaults to |
span |
Passed to the loess smoother and defaults to
|
col |
Colour for lines. Defaults to |
fill |
Colour for confidence regions. Defaults to
|
plot. |
Whether or not to display the output. Defaults to
|
ncol |
The number of columns wanted in the resulting
plot. Defaults to |
nrow |
The number of rows wanted in the resulting
plot. Defaults to |
... |
Other arguments passed through to underlying plot functions. |
The function attempts to arrange the plots nicely. If the
output isn't what was wanted, the function returns the graphs
to the user as a list so that the user can use
grid.arrange
directly. Also, if you have one or more
covariates in the model and the loess smoother looks wrong, try
setting span=1
.
plot.evmOpt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.