simulate_isd: Simulate an ISD for a single year

View source: R/simulate_isd.R

simulate_isdR Documentation

Simulate an ISD for a single year

Description

Just using the abundances.

Usage

simulate_isd(abundances, sd_dat = NULL, use_th_pars = F, isd_seed = NULL)

Arguments

abundances

long dataframe of 'id', 'abundance', and any other identifying columns (such as 'year')

sd_dat

optionally pass table with 'id', 'mean_mass', 'mean_sd'

use_th_pars

default FALSE, use Thibault (2010) parameter estiamtes?

isd_seed

optionally specify seed to use

Value

dataframe with one row per simulated individual, columns 'id', 'mass', 'isd_seed', and any columns in 'abundances'


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