Learn R Programming

bootstrapFP (version 0.4.6)

over_replacement: Select a simple random sampling with over-replacement

Description

Used for resampling procedures. Proposed by Antal and Tille' (2011).

Usage

over_replacement(N, n)

Value

an integer vector of size n, indicating how many times each unit is present in the sample

Arguments

N

integer, the population size

n

integer, the sample size

References

Antal, E.; Tillé, Y. (2011). Simple random sampling with over-replacement. Journal of Statistical Planning and Inference, 141(1), 597-601.