sim_inframe | R Documentation |
Calculate prob_lower for study sites using table operations
sim_inframe(df_visit, r = 1000, df_site = NULL)
df_visit |
Data frame with columns: study_id, site_number, patnum, visit, n_ae. |
r |
Integer or tbl_object, number of repetitions for bootstrap simulation. Pass a tbl object referring to a table with one column and as many rows as desired repetitions. Default: 1000. |
df_site |
dataframe as returned be |
df_visit <- sim_test_data_study(
n_pat = 100,
n_sites = 5,
frac_site_with_ur = 0.4,
ur_rate = 0.6
)
df_visit$study_id <- "A"
df_sim <- sim_inframe(df_visit)
df_eval <- eval_sites(df_sim)
df_eval
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.