send_gnome: Draw a single sample from the feasible set

Description Usage Arguments Value

View source: R/sad_sampler.R

Description

Draw a single sample from the feasible set of species abundance distributions with s species and n total individuals, uniformly

Usage

1
send_gnome(s, n, ps, ks)

Arguments

s

the number of species

n

the number of individuals

ps

the ps table for number of partitions

ks

the ks table of max partition sizes

Value

a vector of length s whose elements sum up to n, in non- decreasing order


diazrenata/feasiblesads documentation built on April 24, 2021, 12:26 a.m.