View source: R/var_partitioning_function.R
var_partitioning | R Documentation |
This function uses the varpart()
function from vegan to compute all fractions and their respective p-values in a single table
var_partitioning(
Y,
env,
clim = NULL,
spa,
percent_r2 = F,
allow_negative_r2 = TRUE,
round = 3
)
Y |
Species occurence matrix |
env |
Matrix of environmental variables |
clim |
Matrix of climate variables |
spa |
Matrix of spatial variables |
percent_r2 |
Logical. Should the R2 values be converted in percentages? |
allow_negative_r2 |
Logical. Should negative values be used to compute the R2 values? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.