View source: R/output_processing_fx.R
Manuscript specific function. This function takes the simulated metacommunity to get the species richness for each site. It then binds that information to the Variation Partinioning output from the HMSC::variPart(). This function also takes the output of HMSC::variPart() and organizes each fraction: into the env, spa and codist components
1 | get_sites_data(folderpath, scenario)
|
folderpath |
path to stored RDS files from the get_VP_results(), variation partitioning |
scenario |
the specific name of the file to use. Should be able to access both the metaco simulation, the model and the VP results with this name. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.