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


lucatardella/PLMIX documentation built on Jan. 1, 2021, 8:25 a.m.