View source: R/8.4.f.metrics.occ.suit.R
get_occ_suit | R Documentation |
This function will extract the suitability values from all projections of a 'mcmp' object using either the species occurrences used for niche modeling or an user supplied object with species occurrences.
get_occ_suit(mcmp, occ = NULL, ref = "current", t.all = F)
mcmp |
An object returned by |
occ |
Occurrence data. Argument 'p' of dismo::maxent. This can be a data.frame, matrix, SpatialPoints* object, or a vector. If p is a data.frame or matrix it represents a set of point locations; and it must have two columns with the first being the x-coordinate (longitude) and the second the y-coordinate (latitude). Coordinates can also be specified with a SpatialPoints* object If x is a data.frame, p should be a vector with a length equal to nrow(x) and contain 0 (background) and 1 (presence) values, to indicate which records (rows) in data.frame x are presence records, and which are background records |
ref |
Character. Name of reference projection (i.e. the one used for calibration and that will not be averaged with any other) |
t.all |
logical. Should threshold be applied on individual and consensus projections? Default is FALSE. Ignored if consensus projections are not found. |
## Not run:
get_occ_suit(mcmp=mxnt.mdls.preds)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.