plot.sppResponse {analogue} | R Documentation |
Plot species responses along gradients or latent variables
Description
Observed abundances and fitted response curves along
Usage
## S3 method for class 'sppResponse'
plot(x,
which = seq_along(x),
display = c("observed", "fitted"),
xlab = "Gradient", ylab = "Abundance",
main = NULL,
lcol = "red",
lwd = 2,
...)
Arguments
x |
an object of class |
which |
numeric or logical vector; which species (components of
|
display |
character; plot the observed data or the fitted species response curve or both? |
xlab , ylab , main |
titles for the x and y axis label and the main
title. If |
lwd |
numeric; width of the line used to draw the fitted species response function if drawn. |
lcol |
the colour to use to draw the fitted species response. |
... |
graphical arguments passed |
Details
Currently, no attempt is made to split the device into an appropriate
number of panels. This is up to the user to decide. See the Examples
section of sppResponse
for one way to handle this.
Value
One or more plots, drawn on the current device.
Author(s)
Gavin L. Simpson
See Also
sppResponse
for a complete example using fitted
responses along principal curves.