Package: expard 1.1.0

Louis Dijkstra

expard: Drug 'EXPosures' and 'ADRs'

An R package for fitting complex drug exposure and adverse drug reaction ('ADR') relationships. It can additionally be used to simulate electronic healthcare record ('EHR') data of patients observed across multiple timepoints.

Authors:Louis Dijkstra [aut, cre]

expard_1.1.0.tar.gz
expard_1.1.0.zip(r-4.7)expard_1.1.0.zip(r-4.6)expard_1.1.0.zip(r-4.5)
expard_1.1.0.tgz(r-4.6-any)expard_1.1.0.tgz(r-4.5-any)
expard_1.1.0.tar.gz(r-4.7-any)expard_1.1.0.tar.gz(r-4.6-any)
expard_1.1.0.tgz(r-4.6-emscripten)
|manual.html
card.svg |card.png
expard/json (API)
NEWS

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

Bug tracker:https://github.com/bips-hb/expard/issues

On CRAN:

Conda:

2.30 score 2 stars 7 scripts 30 exports 28 dependencies

Last updated from:0394132bd6. Checks:8 OK, 1 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK129
source / vignettesERROR179
linux-release-x86_64OK163
macos-release-arm64OK118
macos-oldrel-arm64OK92
windows-develOK95
windows-releaseOK102
windows-oldrelOK83
wasm-releaseOK95

Exports:apply_function_to_observed_timepointscreate2x2tablecreate2x2tablesdetermine_first_prescriptiondetermine_frequency_unique_valuesfit_all_modelsfit_modelgenerate_adr_historygenerate_cohortgenerate_drug_ADR_pairgenerate_drug_historygenerate_patientloglikelihoodloglikelihood_decayingloglikelihood_delayedloglikelihood_delayed_decayingloglikelihood_long_termloglikelihood_pastloglikelihood_withdrawalplot_fitplot_riskrisk_model_current_userisk_model_decayingrisk_model_delayedrisk_model_delayed_decayingrisk_model_durationrisk_model_long_termrisk_model_no_associationrisk_model_pastrisk_model_withdrawal

Dependencies:clicpp11crayondplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixpillarpkgconfigR6RColorBrewerrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Apply Function to Subset Drug Historyapply_function_to_observed_timepoints
Creating a 2 \times 2 Tablecreate2x2table
2 \times 2 Tablescreate2x2tables
First Prescriptiondetermine_first_prescription
Compute Frequency Tabledetermine_frequency_unique_values
Fit a Model to Cohort Datafit_all_models fit_model
Returns ADR Historygenerate_adr_history
Generate a Cohortgenerate_cohort
Generate a Drug-ADR pairgenerate_drug_ADR_pair
Generate Drug Prescription Historygenerate_drug_history
Generate a Patientgenerate_patient
Negative of the Log-Likelihood Functionloglikelihood loglikelihood_decaying loglikelihood_delayed loglikelihood_delayed_decaying loglikelihood_long_term loglikelihood_past loglikelihood_withdrawal
Plot the Fitplot_fit
Plot Riskplot_risk
Print function for 'generate_cohort'print.cohort
Print function for 2x2 tablesprint.cont_table
Function for printing a drug-ADR pairprint.drug_ADR_pair
Print function for the hccd fit_modelprint.expardfit2
Function for printing a patientprint.patient
Risk Model 'No Association'risk_model_current_use risk_model_decaying risk_model_delayed risk_model_delayed_decaying risk_model_duration risk_model_long_term risk_model_no_association risk_model_past risk_model_withdrawal