Skip to content

Commit

Permalink
Merge branch 'main' into better-emmeans-outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke authored Sep 3, 2024
2 parents f4f137c + d35948a commit bccccac
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
8 changes: 5 additions & 3 deletions R/p_significance.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
#' @param threshold The threshold value that separates significant from
#' negligible effect, which can have following possible values:
#' - `"default"`, in which case the range is set to `0.1` if input is a vector,
#' and based on [`rope_range()`] if a Bayesian model is provided.
#' and based on [`rope_range()`] if a (Bayesian) model is provided.
#' - a single numeric value (e.g., 0.1), which is used as range around zero
#' (i.e. the threshold range is set to -0.1 and 0.1)
#' - a numeric vector of length two (e.g., `c(-0.2, 0.1)`).
#' (i.e. the threshold range is set to -0.1 and 0.1, i.e. reflects a symmetric
#' interval)
#' - a numeric vector of length two (e.g., `c(-0.2, 0.1)`), useful for
#' asymmetric intervals.
#' @inheritParams rope
#' @inheritParams hdi
#'
Expand Down
3 changes: 2 additions & 1 deletion R/rope_range.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
#' - For all other models, `-0.1, 0.1` is used to determine the ROPE limits,
#' but it is strongly advised to specify it manually.
#'
#' @param x A `stanreg`, `brmsfit` or `BFBayesFactor` object.
#' @param x A `stanreg`, `brmsfit` or `BFBayesFactor` object, or a frequentist
#' regression model.
#' @param verbose Toggle warnings.
#' @inheritParams rope
#'
Expand Down
8 changes: 5 additions & 3 deletions man/p_significance.Rd

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

3 changes: 2 additions & 1 deletion man/rope_range.Rd

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

0 comments on commit bccccac

Please sign in to comment.