plot.maxnet | R Documentation |
Create response plots for user selected predictors in a maxnet model
## S3 method for class 'maxnet' plot( x, vars = names(x$samplemeans), common.scale = TRUE, type = c("link", "exponential", "cloglog", "logistic"), ylab = NULL, plot = TRUE, mar = c(5, 5, 4, 2), N = 100, ... )
x |
an object of class maxnet, i.e., a fitted model. |
vars |
character, vector of predictors for which response plots are desired. |
common.scale |
logical, if true, all plots use the same scale on the y-axis. |
type |
character, type of response to plot on y-axis. |
ylab |
character, label for y-axis |
plot |
logical, if TRUE render a plot, if FALSE return a list of data frames with variable and response columns |
mar |
numeric, 4 element value for margins (lines, in order of bottom, left, top, right)
See |
N |
numeric, the number of intervals over which to sample the response |
... |
other arguments passed to |
if plot
is FALSE
then return a list of data frames
that contain variable and response columns otherwise NULL
invisibly
response.plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.