Description Usage Arguments Details Value Warning Author(s) References See Also Examples
domain
uses the DOMAIN algorithm to estimate the potential
distribution of a species based on a list of species occurrences and on
maps of the area.
1 |
kasc |
an object of class |
pts |
a data frame giving the x and y coordinates of the species occurrences. |
type |
a character string. The |
thresh |
if |
This function implements the DOMAIN algorithm described in Carpenter et al. (1993).
Returns a matrix of class asc
.
domain
is restricted to maps
containing only numerical variables (i.e. no factors).
Clement Calenge clement.calenge@oncfs.gouv.fr
Carpenter, G., Gillison, A.N. and Winter, J. (1993) DOMAIN: a flexible modelling procedure for mapping potential distributions of plants and animals. Biodiversity and conservation, 2, 667–680.
kasc
for additionnal information on objects
of class kasc
, asc
for additionnal information on
matrices of class asc
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Preparation of the data
data(puechabon)
kasc <- puechabon$kasc
kasc$Aspect <- NULL
pts <- puechabon$locs[puechabon$locs$Name == "Brock", 4:5]
## View of the data
elevation <- getkasc(kasc, "Elevation")
image(elevation)
points(pts, col = "red", pch = 16)
## Estimation of habitat suitability map
hsm <- domain(kasc, pts)
image(hsm, col = grey((1:256)/256))
contour(hsm, add = TRUE)
## Lighter areas are the most preferred areas
## Potential distribution
hsm <- domain(kasc, pts, type = "potential")
image(elevation, main = "Habitat suitability map")
image(hsm, add = TRUE, col = "orange")
points(pts, col = "red", pch = 16)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.