disData | R Documentation |
disPo
returns the presence-only (po) data for a region
disBg
returns the background (bg) data for a region
disPa
returns the presence-absence (pa) data for a region and group
disEnv
returns the environmental (env) data for sites matching those in the pa data, for a region and group
disData
returns a list with all data for a region.
disBorder
returns a polygon for one of the regions.
disData(region) disPo(region) disBg(region) disPa(region, group) disEnv(region, group) disBorder(region, pkg="sf")
region |
character. One of "AWT", "CAN", "NSW", "NZ", "SA", "SWI" |
group |
character. If |
pkg |
character. Either "sf" or "terra" to get polygons as defined by that package |
disData
returns a list with env
, pa
, bg
and po
data in that order. For regions with more than one group, the testing data (env and pa) will come from different surveys, and the model testing should be targeted to the relevant group. The first column of the env
and pa
data.frames is "group", which can be used to extract the correct data.
data.frame (disPo, disBg, disPa and disEnv) or list with four data.frames (disData)
awt_po <- disPo("AWT") awt_bg <- disBg("AWT") awt_pa_plants <- disPa("AWT", "plant") awt_env_plants <- disEnv("AWT", "plant") x <- disData("NSW") names(x) sapply(x, head) z <- disBorder("NSW") plot(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.