srswr {sampling}R Documentation

Simple random sampling with replacement

Description

Draw a simple random sampling with replacement of size n.

Usage

srswr(n,N)

Arguments

n sample size.
N population size.

Details

Return a vector (0 and 1) of size N which is the population size.

See Also

rmultinom, UPmultinomial

Examples

srswr(3,10)

[Package sampling version 0.2 Index]