Description Usage Arguments Details Value Author(s) References Examples
The function is used to calculate the coordinates and area of each convex hull from E environmental space to SR subniche.
1 | subarea(subnic)
|
subnic |
an object of class |
The convex hulls measured are :
E is the environmental space.
K the sub-environmental space.
NR the realized subniche.
SP the existing fundamental subniche.
SB the area of the biological constraint reducing SP.
SR the species realized subniche.
See Karasiewicz,et al. (2017) for more details on the subniche concept.
A list containing the coordinates and area of each convex hulls
S. Karasiewicz, stephane.karasiewicz@wanadoo.fr
Karasiewicz S.,Doledec S.and Lefebvre S. (2017). Within outlying mean indexes: refining the OMI analysis for the realized niche decomposition. PeerJ 5:e3364. https://doi.org/10.7717/peerj.3364.
1 2 3 4 5 6 7 8 9 10 11 | library(subniche)
data(doubs)
dudi1 <- dudi.pca(doubs$env, scale = TRUE, scan = FALSE, nf = 3)
nic1 <- niche(dudi1, doubs$fish, scann = FALSE)
# number of sites
N <- dim(nic1$ls)[1]
#Create a factor which defines the subsets
fact <- factor(c(rep(1,N/2),rep(2,N/2)))
# nic1 will be use as reference and fact will be use to define the subniches environment
subnic1 <- subniche(nic1, fact)
area_sub <- subarea(subnic1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.