get_sites_data: Organize and format site level data

Description Usage Arguments

View source: R/output_processing_fx.R

Description

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

Usage

1
get_sites_data(folderpath, scenario)

Arguments

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.


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