Package: baymedr 0.2
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.2.tar.gz
baymedr_0.2.zip(r-4.7)baymedr_0.2.zip(r-4.6)baymedr_0.2.zip(r-4.5)
baymedr_0.2.tgz(r-4.6-any)baymedr_0.2.tgz(r-4.5-any)
baymedr_0.2.tar.gz(r-4.7-any)baymedr_0.2.tar.gz(r-4.6-any)
baymedr_0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:86f896485e. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 182 | ||
| source / vignettes | OK | 189 | ||
| linux-release-x86_64 | OK | 170 | ||
| macos-release-arm64 | OK | 177 | ||
| macos-oldrel-arm64 | OK | 212 | ||
| windows-devel | OK | 126 | ||
| windows-release | OK | 125 | ||
| windows-oldrel | OK | 137 | ||
| wasm-release | OK | 120 |
Exports:coxph_bfcoxph_data_simequiv_bfget_bfinfer_bfsuper_bf
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacecpp11data.tabledigestdoParallelevaluatefarverfastmapfontawesomeforeachforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobanditeratorsjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemimemultcompmvtnormnlmennetpolsplinepsoquantregR6rappdirsRColorBrewerrlangrmarkdownrmsrpartrstudioapiS7sandwichsassscalesSparseMstringistringrsurvivalTH.datatinytexvctrsviridisLitewithrxfunyamlzoo
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 |
