chooseAtLeastOneFromEach: Calculate the number of combinations possible from nGroups...

View source: R/abundance.R

chooseAtLeastOneFromEachR Documentation

Calculate the number of combinations possible from nGroups groups with groupsize members and n observations

Description

Calculate the number of combinations possible from nGroups groups with groupsize members and n observations

Usage

chooseAtLeastOneFromEach(n, nGroups, groupSize)

Arguments

n

number of observations pulled from the individuals

nGroups

number of equally sized groups

groupSize

size of the equally sized groups

Value

number of combinations containing at least one individual from each group

See Also

pRare

Examples

chooseAtLeastOneFromEach(10,10,2)

sherrillmix/dnar documentation built on July 18, 2022, 10:07 p.m.