simulate_isd_ts: Simulate ISD data for a timeseries

View source: R/simulate_isd.R

simulate_isd_tsR Documentation

Simulate ISD data for a timeseries

Description

For one year or all years.

Usage

simulate_isd_ts(
  dataset,
  sd_dat = NULL,
  censusyears = NULL,
  use_th_pars = F,
  isd_seed = NULL
)

Arguments

dataset

list of 'abundance', 'covariates', 'metadata'. See 'MATSS'.

sd_dat

optional, provide a dataframe with 'id', 'mean_mass', 'mean_sd'

censusyears

optional, specify the year to simulate for. If not provided simulates for all years.

use_th_pars

default F, use Thibault (2010) scaling parameters or re-estimated ones?

isd_seed

optionally specify the seed to use when simulating the ISDs. If not provided one will be chosen and returned with output.

Value

list of 'isd', 'covariates', 'metadata'


diazrenata/BBSsize documentation built on April 21, 2022, 7:39 p.m.