urmvhyper: Generate replicates for uniform multivariate hypergeometric...

Description Usage Arguments Details See Also

View source: R/sampling_curves.R

Description

Generate replicates for uniform multivariate hypergeometric distribution

Usage

1
urmvhyper(N, m, k = NULL, fraction = NULL, nn = 10000)

Arguments

N

number of marbles

m

number of colours

k

sample size

fraction

Fraction of N to sample

nn

Number of replicates

Details

N,m The number of marbles of each colour in the urn must be integral. If the total number of marbles, N, is not evenly divisible by the number of colours, m, the remaining r marbles are added one by one to the the first r colours.

See Also

rmvhyper, rhyper


jefferis/emsampling documentation built on July 21, 2019, 2:20 a.m.