draw_communities: Draw communities

Description Usage Arguments Value

View source: R/resim_fxns.R

Description

High-level fxn to get yearly estimates for the state variables under the scenarios of 1) the ISD is conserved begin-end and 2) the ISD changes begin-end. A way to partition change in biomass or energy use expected given changes in abundance and sampling variation, and changes that must be partially driven by changes in the size shift.

Usage

1
2
3
4
5
6
7
draw_communities(
  ts_comp,
  begin_years = 1988:1992,
  end_years = 2014:2018,
  draw_seed = 1989,
  sampling_gmms
)

Arguments

ts_comp

matss-style dataset

begin_years

default 1988:1992.

end_years

default 2014:2018.

draw_seed

This is the seed used to draw the seeds that are then used to draw the individuals for the different sims.

sampling_gmms

do provide for speed! result of construct_sampling_gmms

initial_isd_seed

If sampling_gmms is not provided, this is the seed that will be used to pull the ISD(s) used to create the sampling gmms. I strongly recommend providing sampling_gmms.

raw_isd_seed

This is the seed used to draw the "raw" values for comparison.

Value

df of sim inds


diazrenata/rwar documentation built on Dec. 19, 2021, 11:08 p.m.