add_drawn_individuals: Add drawn individuals

Description Usage Arguments Value

View source: R/resim_fxns.R

Description

Adds individuals drawn from a sampling GMM to an ISD-shaped dataframe.

Usage

1
add_drawn_individuals(timeperiod_isd, sampling_gmm, draw_seed = NULL)

Arguments

timeperiod_isd

an ISD-shaped dataframe. what matters is the number of rows and that it have mass and id columns.

sampling_gmm

begin or end, just one

draw_seed

For the actual sampling.

Value

dataframe with body mass (and energy use) for those individuals drawn from the sampling_gmm provided


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