filter_fia_small: Filter FIA data - small communities

Description Usage Arguments Value

View source: R/data_handling.R

Description

There are 66,321 FIA sites with between 3 and 9 species, and 26,667 with 1 or 2 species. Running so many different sites creates memory problems (drake plans become very long); the other datasets in this analysis have orders of magnitude fewer sites. We selected 10,000 small communities to analyze. We drew the 10,000 from the 66,321 with between 3 and 9 species, because SADs with only 1 or 2 species are not well-captured in this analysis. If S = 1, there is only one possible SAD. If S = 2, it is impossible to compute some summary statistics for shape, and it is unclear what we mean by shape. The random selection uses seed = 1977, because 1977 is the year the Portal Project was initiated and it is therefore RMD's favorite seed.

Usage

1
2
3
4
5
6
7
filter_fia_small(
  min_s0 = 3,
  max_s0 = 9,
  max_comm = 10000,
  storage_path = here::here("working-data", "abund_data"),
  save = TRUE
)

Arguments

min_s0

min s0

max_s0

max s0

max_comm

max ncommunities

storage_path

where to put it

save

save it?

Value

nothing


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