Observed abundances and fitted response curves along
# S3 method for sppResponse
plot(x,
which = seq_along(x),
display = c("observed", "fitted"),
xlab = "Gradient", ylab = "Abundance",
main = NULL,
lcol = "red",
lwd = 2,
...)
One or more plots, drawn on the current device.
an object of class "sppResponse"
.
numeric or logical vector; which species (components of
x
) to plot.
character; plot the observed data or the fitted species response curve or both?
titles for the x and y axis label and the main
title. If main
is NULL
, suitable main titles are taken
from x
.
numeric; width of the line used to draw the fitted species response function if drawn.
the colour to use to draw the fitted species response.
graphical arguments passed plot
and lines
used internally.
Gavin L. Simpson
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.
sppResponse
for a complete example using fitted
responses along principal curves.