ind_draw: Draw individuals to make a population.

View source: R/ind_draw.R

ind_drawR Documentation

Draw individuals to make a population.

Description

This is not a user-facing function; it is the random number generator under-the-hood for pop_generate.

Usage

ind_draw(
  species_mean = NA_real_,
  species_sd = NA_real_,
  species_abundance = NA_integer_
)

Arguments

species_mean

mean body size

species_sd

standard deviation of body size

species_abundance

number of individuals to draw

Value

vector of individuals' simulated body masses


diazrenata/birdsize documentation built on Jan. 29, 2024, 12:25 p.m.