Description Usage Arguments Details Value Author(s)
Computation of the range of an environmental variable for all OTUs in a community and statistical comparison to randomized communities.
1  | niche.range(comm.tab, env.var, n = 1000, probs = c(0.025, 0.975))
 | 
comm.tab | 
 Community data, a matrix-like object (samples as rows; OTUs as columns).  | 
env.var | 
 Environmental variable as a numeric vector.  | 
n | 
 Number of permutations.  | 
probs | 
 Probabilities for confidence interval calculations.  | 
The niche.val function computes the range of values of an environmental variable where each OTU is present. The mean value and CI for each OTU is computed for n null matrices. The null matrices are created by randomly shuffling the rows in comm.tab.  Each OTU is classified depending whether the real niche range is lower / higher / within the CI.
Data frame with the observed niche range value, the mean and CI null values and the classification of each OTU based on randomizations.
Guillem Salazar <guillems@ethz.ch>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.