Skip to content

Commit

Permalink
prepare parameter groups
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed May 8, 2021
1 parent 2bb2259 commit 453efeb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions R/format.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ format.parameters_model <- function(x,
ci_brackets = NULL,
zap_small = FALSE,
format = NULL,
group = NULL,
...) {
# save attributes
coef_name <- attributes(x)$coefficient_name
Expand Down
5 changes: 5 additions & 0 deletions R/print.parameters_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#' @param show_formula Logical, if \code{TRUE}, adds the model formula to the output.
#' @param caption Table caption as string. If \code{NULL}, no table caption is printed.
#' @param footer_digits Number of decimal places for values in the footer summary.
#' @param group to do...
#' @inheritParams insight::format_table
#'
#' @inheritSection format_parameters Interpretation of Interaction Terms
Expand Down Expand Up @@ -61,6 +62,7 @@ print.parameters_model <- function(x,
show_sigma = FALSE,
show_formula = FALSE,
zap_small = FALSE,
group = NULL,
...) {
# save original input
orig_x <- x
Expand Down Expand Up @@ -97,6 +99,7 @@ print.parameters_model <- function(x,
ci_width = "auto",
ci_brackets = TRUE,
format = "text",
group = group,
...
)

Expand Down Expand Up @@ -151,6 +154,7 @@ print.parameters_brms_meta <- print.parameters_model
ci_width = "auto",
ci_brackets = TRUE,
format = "text",
group = NULL,
...) {
format(
x,
Expand All @@ -164,6 +168,7 @@ print.parameters_brms_meta <- print.parameters_model
ci_brackets = ci_brackets,
zap_small = zap_small,
format = format,
group = group,
...
)
}
Expand Down
1 change: 0 additions & 1 deletion R/random_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#' with zero-inflated component. \code{component} may be one of
#' \code{"conditional"} (default), \code{"zi"} or \code{"zero-inflated"}.
#' May be abbreviated.
#' @inheritParams simulate_model
#'
#' @return A data frame with random effects statistics for the variance components,
#' including number of levels per random effect group, as well as complete
Expand Down
3 changes: 3 additions & 0 deletions man/display.parameters_model.Rd

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

3 changes: 3 additions & 0 deletions man/print.parameters_model.Rd

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

0 comments on commit 453efeb

Please sign in to comment.