Sample patient based on summary statistics
1 2 3 4 5 6 7 8 9 10 | rwe_margin_sample(
target_stats,
dta_ext,
method = c("genetic", "sa", "naive", "weighted", "ps"),
n_min = 300,
max_steps = 10000,
epsilon = NULL,
seed = NULL,
...
)
|
target_stats |
target summary statistics |
dta_ext |
external data |
method |
sampling methods |
n |
number of patients to be drawn in each try |
weights |
weights based on likelihood |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.