Package: dreamer 3.2.0

Richard Daniel Payne

dreamer: Dose Response Models for Bayesian Model Averaging

Fits dose-response models utilizing a Bayesian model averaging approach as outlined in Gould (2019) <doi:10.1002/bimj.201700211> for both continuous and binary responses. Longitudinal dose-response modeling is also supported in a Bayesian model averaging framework as outlined in Payne, Ray, and Thomann (2024) <doi:10.1080/10543406.2023.2292214>. Functions for plotting and calculating various posterior quantities (e.g. posterior mean, quantiles, probability of minimum efficacious dose, etc.) are also implemented. Copyright Eli Lilly and Company (2019).

Authors:Richard Daniel Payne [aut, cre], William Michael Landau [rev], Mitch Thomann [rev], Eli Lilly and Company [cph]

dreamer_3.2.0.tar.gz
dreamer_3.2.0.tar.gz(r-4.5-noble)dreamer_3.2.0.tar.gz(r-4.4-noble)
dreamer_3.2.0.tgz(r-4.4-emscripten)dreamer_3.2.0.tgz(r-4.3-emscripten)
dreamer.pdf |dreamer.html
dreamer/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/rich-payne/dreamer/issues

Pkgdown site:https://rich-payne.github.io

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3

jagscpp

2.30 score 5 scripts 244 downloads 46 exports 40 dependencies

Last updated 12 days agofrom:d02d37c07b. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 19 2024
R-4.5-linuxOKDec 19 2024

Exports:diagnosticsdreamer_data_betadreamer_data_beta_binarydreamer_data_emaxdreamer_data_emax_binarydreamer_data_expdreamer_data_exp_binarydreamer_data_independentdreamer_data_independent_binarydreamer_data_lineardreamer_data_linear_binarydreamer_data_loglineardreamer_data_loglinear_binarydreamer_data_logquaddreamer_data_logquad_binarydreamer_data_quaddreamer_data_quad_binarydreamer_mcmcdreamer_plot_priormodel_betamodel_beta_binarymodel_emaxmodel_emax_binarymodel_expmodel_exp_binarymodel_independentmodel_independent_binarymodel_linearmodel_linear_binarymodel_loglinearmodel_loglinear_binarymodel_logquadmodel_logquad_binarymodel_longitudinal_idpmodel_longitudinal_itpmodel_longitudinal_linearmodel_quadmodel_quad_binaryplot_comparisonplot_tracepost_medxpost_perc_effectposteriorpr_eoipr_medpr_medx

Dependencies:clicodacolorspacecpp11dplyrellipsisfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerrjagsrlangrootSolvescalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Dose REsponse models for bAyesian Model avERaging (dreamer)

Rendered fromdreamer.Rmdusingknitr::rmarkdownon Dec 19 2024.

Last update: 2022-09-01
Started: 2021-08-20

dreamer Methods

Rendered fromdreamer_method.Rmdusingknitr::rmarkdownon Dec 19 2024.

Last update: 2022-09-01
Started: 2022-09-01

Readme and manuals

Help Manual

Help pageTopics
Calculate MCMC Diagnostics for Parametersdiagnostics
Generate Data from Dose Response Modelsdreamer_data dreamer_data_beta dreamer_data_beta_binary dreamer_data_emax dreamer_data_emax_binary dreamer_data_exp dreamer_data_exp_binary dreamer_data_independent dreamer_data_independent_binary dreamer_data_linear dreamer_data_linear_binary dreamer_data_loglinear dreamer_data_loglinear_binary dreamer_data_logquad dreamer_data_logquad_binary dreamer_data_quad dreamer_data_quad_binary
Bayesian Model Averaging of Dose Response Modelsdreamer_mcmc
Plot Priordreamer_plot_prior
Posterior Plot of Bayesian Model Averagingdreamerplot plot.dreamer_mcmc
Model Creationmodel model_beta model_beta_binary model_emax model_emax_binary model_exp model_exp_binary model_independent model_independent_binary model_linear model_linear_binary model_loglinear model_loglinear_binary model_logquad model_logquad_binary model_quad model_quad_binary
Model Creation: Longitudinal Modelsmodel_longitudinal model_longitudinal_idp model_longitudinal_itp model_longitudinal_linear
Compare Posterior Fitsplot_comparison plot_comparison.default plot_comparison.dreamer_bma
Traceplotsplot_trace
Posterior Distribution of Minimum X% Effective Dosepost_medx post_medx.dreamer_bma post_medx.dreamer_mcmc
Calculate Posterior of a Dose's Percentage Effectpost_perc_effect post_perc_effect.dreamer_bma post_perc_effect.dreamer_mcmc
Posterior Quantities from Bayesian Model Averagingposterior posterior.dreamer_bma posterior.dreamer_mcmc posterior.dreamer_mcmc_independent
Calculate Probability of Meeting Effect of Interest (EOI)pr_eoi
Pr(minimum efficacious dose)pr_med
Probability of minimum X% effective dosepr_medx
Summarize Bayesian Model Averaging MCMC Outputsummary.dreamer_bma
Summarize Model Outputsummary.dreamer_mcmc