draw_random_species: Draw random species from a meta-community

View source: R/random_draws.R

draw_random_speciesR Documentation

Draw random species from a meta-community

Description

Draw random species from a meta-community

Usage

draw_random_species(n, sp.names = NULL)

Arguments

n

integer, number of species to draw.

sp.names

vector, names of the species in the meta-community (default = NULL).

Details

Either one of sp.names or S need to be specified. If both are specified, sp.names overrules S, which will not be evaluated.

Value

A vector with the species names.


emilio-berti/assembly documentation built on Aug. 16, 2022, 9:50 p.m.