simulate_data: Simulate a community data

simulate_dataR Documentation

Simulate a community data

Description

this function simulates a single community data using a pseudorandom root, uniform and poison distributions

Usage

simulate_data(n.sites, n.species, min.ab, mean.ab, seed)

Arguments

n.sites

the number of sites required or n of columns required

n.species

the n of rows representing species

min.ab

the expected minimum abundance

mean.ab

mean abundance for a given column

seed

an integer to be used as random seed.

Examples

simulate_data()
simulate_data(n.species=10,n.sites=20)
simulate_data(n.species=10,n.sites=20, 
    min.ab=10, mean.ab=100, seed=123)

wilsonfrantine/R4eco documentation built on Jan. 30, 2024, 4:55 p.m.