simulate_community: Simulate an entire community

Description Usage Arguments Value

View source: R/simulate_community_data.R

Description

Randomly generate masses for N individuals randomly distributed among S species assignments & with minimum and maximum body sizes.

Usage

1
simulate_community(nspecies, nind, min_mass, max_mass)

Arguments

nspecies

S

nind

N

min_mass

Min average mass

max_mass

Max average mass

Value

matrix with 1 row per individual and two columns: species assignments and mass.


diazrenata/revisitbecs documentation built on May 21, 2019, 6:48 a.m.