get_species_data: Organize and Format VP results at the species level

Description Usage Arguments

View source: R/output_processing_fx.R

Description

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

Usage

1
get_species_data(folderpath, scenario)

Arguments

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.


javirudolph/iStructureMetaco documentation built on Dec. 20, 2021, 9:09 p.m.