quickintsample: Weighted sampling without replacement from a finite urn

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Weighted sampling without replacement from a finite urn

Usage

1
quickintsample(n, size, prob)

Arguments

n

Number of distinct integer-labeled balls in the urn.

size

Number of balls sampled without replacement.

prob

Numeric vector of length n probability masses assigned to each ball.

Value

vector


cmollica/PLMIX documentation built on Dec. 31, 2020, 10:04 p.m.