Learn R Programming

SciencesPo (version 1.3.9)

replicatedSampling: Replicated Simple Random Sample (SRS)

Description

Replicated Simple Random Sample (SRS).

Usage

replicatedSampling(N = 500, n = 30, g = 6)

Arguments

N
The population size.
n
The sample size.
g
Number of independent sub-samples, each containing m = n/g units. Notice that m has to be a multiple of n and g.

Examples

Run this code
replicatedSampling(500, 30, 6)

Run the code above in your browser using DataLab