View source: R/adjusted.actuals.R
adjusted.actuals | R Documentation |
Adjusts actual presence/absence data based on the autocorrelation in the predictions of a model. The function will optionally plot results of model predictions, un-modified actual presence/absence, and adjusted values.
adjusted.actuals(data, coord, plot.maps = FALSE, color.maps = FALSE)
data |
a dataframe or matrix containing actual presence/absence (binary, 0 or 1) values in 1st column and predicted values (numeric between 0 and 1) in 2nd column. |
coord |
a matrix of two columns of the same length providing integer,
consecutively numbered coordinates for each occurrence and prediction in
|
plot.maps |
A logical indicating whether maps should be plotted. Default is FALSE. |
color.maps |
A logical value. If |
A vector of adjusted actual values.
Gudrun Carl
data(hook)
data <- hook[ ,1:2]
coord <- hook[ ,3:4]
aa <- adjusted.actuals(data, coord, plot.maps = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.