Skip to content

Commit

Permalink
fix issue #1655
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Sep 12, 2024
1 parent 22550dc commit 96902a7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions R/priors.R
Original file line number Diff line number Diff line change
Expand Up @@ -2051,6 +2051,10 @@ eval_dirichlet <- function(prior, len = NULL, env = NULL) {
#' See the documentation of \code{\link{brm}} for instructions
#' on how to increase \code{adapt_delta}.
#'
#' The prior does not account for scale differences of the terms it is
#' applied on. Accordingly, please make sure that all these terms have a
#' comparable scale to ensure that shrinkage is applied properly.
#'
#' Currently, the following classes support the horseshoe prior: \code{b}
#' (overall regression coefficients), \code{sds} (SDs of smoothing splines),
#' \code{sdgp} (SDs of Gaussian processes), \code{ar} (autoregressive
Expand Down Expand Up @@ -2148,6 +2152,10 @@ horseshoe <- function(df = 1, scale_global = 1, df_global = 1,
#' See the Examples section below.
#'
#' @details
#' The prior does not account for scale differences of the terms it is
#' applied on. Accordingly, please make sure that all these terms have a
#' comparable scale to ensure that shrinkage is applied properly.
#'
#' Currently, the following classes support the R2D2(M2) prior: \code{b}
#' (overall regression coefficients), \code{sds} (SDs of smoothing splines),
#' \code{sdgp} (SDs of Gaussian processes), \code{ar} (autoregressive
Expand Down
6 changes: 5 additions & 1 deletion man/R2D2.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions man/horseshoe.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 96902a7

Please sign in to comment.