draw_individuals: Draw individuals from a GMM

Description Usage Arguments Value

View source: R/resim_fxns.R

Description

Draw individual body masses from a GMM density function for the ISD

Usage

1
draw_individuals(nind, sampling_gmm, draw_seed = NULL)

Arguments

nind

how many to draw

sampling_gmm

a dataframe with mass (on log scale) and density columns.

draw_seed

controls actual sampling

Value

drawn (log) body masses, and metainfo for whether the sampling gmm is from begin or end and the seed used when drawing


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