S3 Interface |
|
---|---|
create simaerep object |
|
plot AE under-reporting simulation results |
|
Main Functions |
|
Aggregate from visit to site level. |
|
Calculate prob_lower and poisson.test pvalue for study sites. |
|
Evaluate sites. |
|
Plot ae development of study and sites highlighting at risk sites. |
|
Integrity check for df_visit. |
|
Simulate Data |
|
simulate study test data |
|
Get Portfolio Configuration |
|
Simulate Portfolio Test Data |
|
Test FunctionsThese functions are intented to check simaerep performance. |
|
Simulate studies. |
|
Simulate Under-Reporting Scenarios |
|
Get Portfolio Performance |
|
Helper FunctionsThese functions are intended to be called by other functions. |
|
Configure study patient pool by site parameters. |
|
Create a study specific patient pool for sampling |
|
Poisson test for vector with site AEs vs vector with study AEs. |
|
Calculate bootstrapped probability for obtaining a lower site mean AE number. |
|
simulate patient ae reporting test data |
|
Get visit_med75. |
|
Aggregate visit to patient level. |
|
Get site mean ae development. |
|
Aggregate duplicated visits. |
|
Expose implicitly missing visits. |
|
Prepare data for simulation. |
|
Start simulation after preparation. |
|
Get empirical cumulative distribution values of pval or prob_lower |
|
Execute a purrr or furrr function with a progress bar. |
|
Conditional |
|
simulate single scenario |
|
create orivisit object |
|
is simaerep class |
|
is orivisit class |
|
Deprecated |
|
Evaluate sites. |
|
Additional Plot FunctionsThese functions are intended for creating plots for the documentation. |
|
Plot patient visits against visit_med75. |
|
Plot multiple simulation examples. |
|
Plot simulation example. |
|
Plots AE per site as dots. |