Description Usage Arguments Details Author(s)
View source: R/habitat.space.R
The function estimates a multivariate habitat space for a species. The results of this function can be used in further plotting and suitable habitat estimation functions in the package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
data.frame containing the data for habitat space estimation. Required except when all limits are set orthogonal. |
cvars |
A named list defining the constraining variables for the habitat space. Each name refers to a variable name in |
log.transform |
A logical vector with the same length than |
rvar |
a character argument specifying the column name for the response variable if not the same as the constraining variables ( |
grid.size |
a numeric vector equally long as the number of simultaneously constraining variables (dimensions; |
grid.limits |
a list of numeric vectors, each of length two defining the minimum and maximum limit for constraining variables ( |
method |
a character argument specifying the method for probability estimation for the habitat space. Currently implemented methods:
|
non.suitable.level |
a numeric argument defining the KDE probability or frequency of occurrence level for non-suitable habitat. The value can be set between 0 and 1. Defines the edge of the habitat space. Smaller the value, the larger the habitat space. |
chull.correction |
logical indicating whether convex hull (chull) should be applied to correct concave shapes along the edge of the habitat space. |
sens.n |
integer defining the number of replicate resamplings (bootstrapping) to be done for the sensitivity estimation. This step makes the function slow. Use |
sens.size |
integer defining the number of random samples that should be drawn from |
sens.grid.size |
integer defininf the number of horizonal and vertical grid cells for sensitivity approximation. |
The function retunrs only two dimensional habitat spaces at the moment.
Mikko Vihtakari
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.