Package: bonsaiforest2 Type: Package Title: Flexible Bayesian Shrinkage Models for Subgroup Analysis Version: 0.1.0 Authors@R: c( person( "Miriam", "Pedrera Gomez", email = "miriam.pedrera_gomez@roche.com", role = c("aut", "cre") ), person( "Isaac", "Gravestock", email = "isaac.gravestock@bayer.com", role = "aut" ), person( "Marcel", "Wolbers", email = "marcel.wolbers@bayer.com", role = "aut" ) ) Description: An extension of the 'bonsaiforest' package that provides increased flexibility in prior selection and modeling options. It supports four types of endpoints and simplifies the fitting and interpretation of Bayesian models for subgroup analysis. Leveraging 'brms', it distinguishes between prognostic and predictive factors using differential shrinkage priors and generates publication-ready forest plots. License: MIT + file LICENSE URL: https://openpharma.github.io/bonsaiforest2/ BugReports: https://github.com/openpharma/bonsaiforest2/issues Encoding: UTF-8 LazyData: true Imports: brms, checkmate, dplyr, ggplot2, posterior, rlang, splines2, stats, stringr, survival, tibble Roxygen: list(markdown = TRUE) Suggests: BH, bookdown, cmdstanr, knitr, RcppEigen, rmarkdown, testthat (>= 3.0.0) Config/testthat/edition: 3 VignetteBuilder: knitr Additional_repositories: https://stan-dev.r-universe.dev Depends: R (>= 3.5) Config/roxygen2/version: 8.1.0 Config/pak/sysreqs: cmake make libicu-dev Repository: https://openpharma.r-universe.dev Date/Publication: 2026-10-15 13:03:01 UTC RemoteUrl: https://github.com/openpharma/bonsaiforest2 RemoteRef: HEAD RemoteSha: 5a6dbf386d371fdda50570c0061b0a0a14dfe47c NeedsCompilation: no Packaged: 2026-10-15 17:21:53 UTC; root Author: Miriam Pedrera Gomez [aut, cre], Isaac Gravestock [aut], Marcel Wolbers [aut] Maintainer: Miriam Pedrera Gomez