View source: R/sbs_pps_sample.R
get_sbs_pps_sample_indices | R Documentation |
Generate SBS PPS sample indices.
get_sbs_pps_sample_indices(population, n, with_unique_pps = FALSE)
population |
Population data frame to be sampled with 2 columns.
|
n |
Sample sizes (SBS sample size, PPS sample size). |
with_unique_pps |
A boolean to specify whether to use unique indices for pps sample or not. |
A named list of:
sbs_pps_indices: sample indices
sbs_indices: sbs sample indices
pps_indices: pps sample indices
sizes_wo_sbs: measured sizes without sbs sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.