## S3 method for class 'mat':
screeplot(x, k, restrict = 20,
display = c("rmsep", "avg.bias",
"max.bias", "r.squared"),
weighted = FALSE, col = "red", xlab = NULL,
ylab = NULL, main = NULL, sub = NULL, ...)## S3 method for class 'bootstrap.mat':
screeplot(x, k, restrict = 20,
display = c("rmsep","avg.bias","max.bias",
"r.squared"),
legend = TRUE, loc.legend = "topright",
col = c("red", "blue"),
xlab = NULL, ylab = NULL,
main = NULL, sub = NULL,
...,
lty = c("solid","dashed"))
mat
and bootstrap.mat
.restrict.=$>
x
to plot? Partial match.legend
for details of allowed keywords."bootstrap.mat"
takes a vector of two colours.length(lty)
is 2.Four measures of model performance are currently available: i) root mean square error of prediction (RMSEP); ii) average bias --- the mean of the model residuals; iii) maximum bias --- the maximum average bias calculated for each of n sections of the gradient of the environmental variable; and v) model $R^2$.
For the maximum bias statistic, the response (environmental) gradient is split into n = 10 sections.
For the bootstrap
method, apparent and bootstrap
versions of these statistics are available and plotted.
screeplot
## continue the example from ?join
example(join)
## fit the MAT model using the squared chord distance measure
swap.mat <- mat(swapdiat, swappH, method = "SQchord")
swap.mat
##
screeplot(swap.mat)
Run the code above in your browser using DataLab