filter_miscabund: Filter Misc Abundance Database

Description Usage Arguments Value

View source: R/data_handling.R

Description

The Miscellaneous Abundance database (Baldridge 2014) has some very large communities, which have feasible sets larger than RMD has been able to sample. (Specifically, as S and N become very large, the p table for feasiblesads becomes very large, making it computationally intensive to generate, difficult to store, and difficult to pass to R). We therefore filter out communities with more than 200 species or more than 40720 individuals, which results in removing 4 communities of 569 total. 40720 was selected via trial and error to get as many communities as possible. It allows sampling the largest-tractable community, with 40714 individuals; capturing the largest four (70939+ individuals) is a considerable jump in resource use.

Usage

1
2
3
4
5
6
filter_miscabund(
  max_s = 200,
  max_n = 40720,
  storage_path = here::here("working-data", "abund_data"),
  save = TRUE
)

Arguments

max_s

currently 200

max_n

currently 40720

storage_path

where to put it

save

save it?

Value

nothing


diazrenata/scadsanalysis documentation built on May 14, 2021, 6:59 p.m.