Package: simaerep 0.5.0

Bjoern Koneswarakantha

simaerep: Find Clinical Trial Sites Under-Reporting Adverse Events

Monitoring of Adverse Event (AE) reporting in clinical trials is important for patient safety. Sites that are under-reporting AEs can be detected using Bootstrap-based simulations that simulate overall AE reporting. Based on the simulation an AE under-reporting probability is assigned to each site in a given trial (Koneswarakantha 2021 <doi:10.1007/s40264-020-01011-5>).

Authors:Bjoern Koneswarakantha [aut, cre, cph], F. Hoffmann-La Roche Ltd [cph]

simaerep_0.5.0.tar.gz
simaerep_0.5.0.zip(r-4.5)simaerep_0.5.0.zip(r-4.4)simaerep_0.5.0.zip(r-4.3)
simaerep_0.5.0.tgz(r-4.4-any)simaerep_0.5.0.tgz(r-4.3-any)
simaerep_0.5.0.tar.gz(r-4.5-noble)simaerep_0.5.0.tar.gz(r-4.4-noble)
simaerep_0.5.0.tgz(r-4.4-emscripten)simaerep_0.5.0.tgz(r-4.3-emscripten)
simaerep.pdf |simaerep.html
simaerep/json (API)
NEWS

# Install 'simaerep' in R:
install.packages('simaerep', repos = c('https://pharmaverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/openpharma/simaerep/issues

On CRAN:

ae-reportingclinical-trials

35 exports 21 stars 2.27 score 51 dependencies 21 scripts 207 downloads

Last updated 5 months agofrom:dd5e9e7d39. Checks:OK: 7. Indexed: no.

TargetResultDate
Doc / VignettesOKAug 31 2024
R-4.5-winOKAug 31 2024
R-4.5-linuxOKAug 31 2024
R-4.4-winOKAug 31 2024
R-4.4-macOKAug 31 2024
R-4.3-winOKAug 31 2024
R-4.3-macOKAug 31 2024

Exports:%>%aggr_duplicated_visitscheck_df_visiteval_siteseval_sites_deprecatedexp_implicit_missing_visitsget_configget_ecd_valuesget_pat_pool_configget_portf_perfis_orivisitis_simaereporivisitpat_aggrpat_poolplot_dotsplot_sim_exampleplot_sim_examplesplot_studyplot_visit_med75poiss_test_site_ae_vs_study_aeprep_for_simprob_lower_site_ae_vs_study_aepurrr_barsim_after_prepsim_scenariosim_sitessim_studiessim_test_data_patientsim_test_data_portfoliosim_test_data_studysim_ur_scenariossimaerepsite_aggrwith_progress_cnd

Dependencies:clicodetoolscolorspacecowplotcpp11digestdplyrevaluatefansifarverforcatsfurrrfuturegenericsggplot2globalsgluegtablehighrisobandknitrlabelinglatticelifecyclelistenvmagrittrMASSMatrixmgcvmunsellnlmeparallellypillarpkgconfigprogressrpurrrR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Aggregate duplicated visits.aggr_duplicated_visits
Integrity check for df_visit.check_df_visit
Evaluate sites.eval_sites
Evaluate sites.eval_sites_deprecated
Expose implicitly missing visits.exp_implicit_missing_visits
Get Portfolio Configurationget_config
Get empirical cumulative distribution values of pval or prob_lowerget_ecd_values
Configure study patient pool by site parameters.get_pat_pool_config
Get Portfolio Performanceget_portf_perf
Get site mean ae development.get_site_mean_ae_dev
Get visit_med75.get_visit_med75
is orivisit classis_orivisit
is simaerep classis_simaerep
create orivisit objectorivisit
Aggregate visit to patient level.pat_aggr
Create a study specific patient pool for samplingpat_pool
Plots AE per site as dots.plot_dots
Plot simulation example.plot_sim_example
Plot multiple simulation examples.plot_sim_examples
Plot ae development of study and sites highlighting at risk sites.plot_study
Plot patient visits against visit_med75.plot_visit_med75
plot AE under-reporting simulation resultsplot.simaerep
Poisson test for vector with site AEs vs vector with study AEs.poiss_test_site_ae_vs_study_ae
Prepare data for simulation.prep_for_sim
Calculate bootstrapped probability for obtaining a lower site mean AE number.prob_lower_site_ae_vs_study_ae
Execute a purrr or furrr function with a progress bar.purrr_bar
Start simulation after preparation.sim_after_prep
simulate single scenariosim_scenario
Calculate prob_lower and poisson.test pvalue for study sites.sim_sites
Simulate studies.sim_studies
simulate patient ae reporting test datasim_test_data_patient
Simulate Portfolio Test Datasim_test_data_portfolio
simulate study test datasim_test_data_study
Simulate Under-Reporting Scenariossim_ur_scenarios
create simaerep objectsimaerep
Aggregate from visit to site level.site_aggr
Conditional 'with_progress'.with_progress_cnd