simulate_isd_route | R Documentation |
Assumes MATSS is installed and working.
simulate_isd_route( route, region, sd_dat = NULL, censusyears = NULL, use_th_pars = F, isd_seed = NULL )
route |
which route |
region |
which region |
sd_dat |
optional, provide dataframe with 'id', 'mean_mass', and 'mean_sd' |
censusyears |
optional, provide a censusyear or years to use. If not provided returns for all years |
use_th_pars |
default FALSE, whether to use sds estimated with Thibault (2010) parameters. Values are very close. |
isd_seed |
optional, seed to use when simulating the ISD. If not provided, a seed is randomly chosen and returned with the simulated ISDs. |
Uses 'MATSS::get_bbs_route_region_data' to pull in a dataset and then simulates the ISD for a given year, or all years, for that dataset. Assumes MATSS is installed and working and 'MATSS::prepare_bbs_data' has already run.
list of 'isd', 'covariates', and 'metadata'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.