View source: R/output_processing_fx.R
this function organizes species level data and gets it ready to plot. It takes the RDS file that is the output of the HMSC::variPart() function and reorganizes it into the env, codist and spa components.It also calculates the prevalence information for each species. organizes each fraction: into the env, spa and codist components
1 | get_species_data(folderpath, scenario)
|
folderpath |
path to stored RDS files from the get_VP_results() |
scenario |
the specific name of the file to use. Should be able to access the both the metacomSim, 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.