Description Usage Arguments Value Examples
Outeater Sampling
1 2 | sampling_outeater(panel_id = panel_id_active, sampleN, sent_id = NULL,
finished_id = NULL)
|
finished_id |
character vector
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | sampleN <- list(
TP = list(N = 20, age = c(35:59), gender=1:2, include_sent=F),
NewTP = list(N = 50, age = c(15:19, 35:59), gender=1:2, include_sent=F),
KL_YL = list(N = 30, age = c(15:59), gender=1:2, include_sent=T),
TY_XC_ML = list(N = 100, age = c(15:20, 35:59), gender=1:2, include_sent=F),
TCH_CHW_NT = list(N = 130, age = c(15:20, 35:59), gender=1:2, include_sent=F),
YL_CHY_TN = list(N = 100, age = c(15:25, 35:59), gender=1:2, include_sent=F),
KS_PT = list(N = 100, age = c(15:20, 35:59), gender=1:2, include_sent=F),
HWL_TD = list(N = 20, age = c(15:49), gender=1:2, include_sent=T)
)
id_output <- panel_id_all %>%
filter(active_grade %in% 1:2) %>% # active, semi-active
sampling_outeater(sampleN,
sent_id,
finished_id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.