prep_for_sim | R Documentation |
Internal function called by sim_sites
.
Collect AEs per patient at visit_med75 for site and study as a vector of
integers.
prep_for_sim(df_site, df_visit)
df_site |
dataframe created by |
df_visit |
dataframe, created by |
dataframe
sim_sites
, sim_after_prep
df_visit <- sim_test_data_study(
n_pat = 100,
n_sites = 5,
frac_site_with_ur = 0.4,
ur_rate = 0.2
)
df_visit$study_id <- "A"
df_site <- site_aggr(df_visit)
df_prep <- prep_for_sim(df_site, df_visit)
df_prep
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.