Package: baymedr 0.1.1.9000
baymedr: Computation of Bayes Factors for Common Biomedical Designs
BAYesian inference for MEDical designs in R. Functions for the computation of Bayes factors for common biomedical research designs. Implemented are functions to test the equivalence (equiv_bf), non-inferiority (infer_bf), and superiority (super_bf) of an experimental group compared to a control group on a continuous outcome measure, as well as functions for simulating survival data and calculating a Bayes factor for Cox proportional hazards models. Bayes factors for these tests can be computed based on raw data or summary statistics.
Authors:
baymedr_0.1.1.9000.tar.gz
baymedr_0.1.1.9000.zip(r-4.5)baymedr_0.1.1.9000.zip(r-4.4)baymedr_0.1.1.9000.zip(r-4.3)
baymedr_0.1.1.9000.tgz(r-4.4-any)baymedr_0.1.1.9000.tgz(r-4.3-any)
baymedr_0.1.1.9000.tar.gz(r-4.5-noble)baymedr_0.1.1.9000.tar.gz(r-4.4-noble)
baymedr_0.1.1.9000.tgz(r-4.4-emscripten)baymedr_0.1.1.9000.tgz(r-4.3-emscripten)
baymedr.pdf |baymedr.html✨
baymedr/json (API)
NEWS
# Install 'baymedr' in R: |
install.packages('baymedr', repos = c('https://maxlinde.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/maxlinde/baymedr/issues
Last updated 2 years agofrom:804030128e. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 15 2024 |
R-4.5-win | OK | Nov 15 2024 |
R-4.5-linux | OK | Nov 15 2024 |
R-4.4-win | NOTE | Nov 15 2024 |
R-4.4-mac | NOTE | Nov 15 2024 |
R-4.3-win | OK | Aug 17 2024 |
R-4.3-mac | OK | Aug 17 2024 |
Exports:coxph_bfcoxph_data_simequiv_bfget_bfinfer_bfsuper_bf
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacedata.tabledigestdoParallelevaluatefansifarverfastmapfontawesomeforeachforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobanditeratorsjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemgcvmimemultcompmunsellmvtnormnlmennetpillarpkgconfigpolsplinepsoquantregR6rappdirsRColorBrewerrlangrmarkdownrmsrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivalTH.datatibbletinytexutf8vctrsviridisviridisLitewithrxfunyamlzoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
baymedr: Computation of Bayes Factors for Common Biomedical Designs | baymedr-package baymedr |
Bayes factor for Cox proportional hazards regression | coxph_bf |
Simulate data for Cox proportional hazards regression | coxph_data_sim |
Bayes factor for equivalence designs | equiv_bf |
Extract Bayes factor from S4 object | get_bf |
Bayes factor for non-inferiority designs | infer_bf |
S4 classes to represent different models | baymedrCoxProportionalHazards-class baymedrCoxProportionalHazardsMulti-class baymedrEquivalence-class baymedrNonInferiority-class baymedrSuperiority-class model-classes |
Bayes factor for superiority designs | super_bf |