Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 25, 2024
1 parent 22ce475 commit 034f5df
Show file tree
Hide file tree
Showing 14 changed files with 250 additions and 182 deletions.
58 changes: 32 additions & 26 deletions R/1_model_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,22 @@
#'
#' @param model Statistical Model.
#' @param ... Arguments passed to or from other methods. Non-documented
#' arguments are `digits`, `p_digits`, `ci_digits` and `footer_digits` to set
#' the number of digits for the output. If `s_value = TRUE`, the p-value will
#' be replaced by the S-value in the output (cf. _Rafi and Greenland 2020_).
#' `pd` adds an additional column with the _probability of direction_ (see
#' [`bayestestR::p_direction()`] for details). `groups` can be used to group
#' coefficients. It will be passed to the print-method, or can directly be used
#' in `print()`, see documentation in [`print.parameters_model()`]. Furthermore,
#' see 'Examples' in [`model_parameters.default()`]. For developers, whose
#' interest mainly is to get a "tidy" data frame of model summaries, it is
#' recommended to set `pretty_names = FALSE` to speed up computation of the
#' summary table.
#'
#' @seealso [insight::standardize_names()] to
#' rename columns into a consistent, standardized naming scheme.
#' arguments are
#' - `digits`, `p_digits`, `ci_digits` and `footer_digits` to set the number of
#' digits for the output. `groups` can be used to group coefficients. These
#' arguments will be passed to the print-method, or can directly be used in
#' `print()`, see documentation in [`print.parameters_model()`].
#' - If `s_value = TRUE`, the p-value will be replaced by the S-value in the
#' output (cf. _Rafi and Greenland 2020_).
#' - `pd` adds an additional column with the _probability of direction_ (see
#' [`bayestestR::p_direction()`] for details). Furthermore, see 'Examples' in
#' [`model_parameters.default()`].
#' - For developers, whose interest mainly is to get a "tidy" data frame of
#' model summaries, it is recommended to set `pretty_names = FALSE` to speed
#' up computation of the summary table.
#'
#' @seealso [insight::standardize_names()] to rename columns into a consistent,
#' standardized naming scheme.
#'
#' @note The [`print()`][print.parameters_model] method has several
#' arguments to tweak the output. There is also a
Expand Down Expand Up @@ -491,18 +493,22 @@ parameters <- model_parameters
#' names.
#' @param ... Arguments passed to or from other methods. For instance, when
#' `bootstrap = TRUE`, arguments like `type` or `parallel` are passed down to
#' `bootstrap_model()`. Further non-documented arguments are `digits`,
#' `p_digits`, `ci_digits` and `footer_digits` to set the number of digits for
#' the output. If `s_value = TRUE`, the p-value will be replaced by the
#' S-value in the output (cf. _Rafi and Greenland 2020_). `pd` adds an
#' additional column with the _probability of direction_ (see
#' [`bayestestR::p_direction()`] for details). `groups` can be used to group
#' coefficients. It will be passed to the print-method, or can directly be
#' used in `print()`, see documentation in [`print.parameters_model()`].
#' Furthermore, see 'Examples' for this function. For developers, whose
#' interest mainly is to get a "tidy" data frame of model summaries, it is
#' recommended to set `pretty_names = FALSE` to speed up computation of the
#' summary table.
#' `bootstrap_model()`.
#'
#' Further non-documented arguments are:
#'
#' - `digits`, `p_digits`, `ci_digits` and `footer_digits` to set the number of
#' digits for the output. `groups` can be used to group coefficients. These
#' arguments will be passed to the print-method, or can directly be used in
#' `print()`, see documentation in [`print.parameters_model()`].
#' - If `s_value = TRUE`, the p-value will be replaced by the S-value in the
#' output (cf. _Rafi and Greenland 2020_).
#' - `pd` adds an additional column with the _probability of direction_ (see
#' [`bayestestR::p_direction()`] for details). urthermore, see 'Examples' for
#' this function.
#' - For developers, whose interest mainly is to get a "tidy" data frame of
#' model summaries, it is recommended to set `pretty_names = FALSE` to speed
#' up computation of the summary table.
#' @param drop See `keep`.
#' @param verbose Toggle warnings and messages.
#' @inheritParams standard_error
Expand Down
28 changes: 16 additions & 12 deletions R/methods_lme4.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,22 @@
#' or omit calculation of confidence intervals.
#' @param ... Arguments passed to or from other methods. For instance, when
#' `bootstrap = TRUE`, arguments like `type` or `parallel` are passed down to
#' `bootstrap_model()`. Further non-documented arguments are `digits`,
#' `p_digits`, `ci_digits` and `footer_digits` to set the number of digits for
#' the output. If `s_value = TRUE`, the p-value will be replaced by the
#' S-value in the output (cf. _Rafi and Greenland 2020_). `pd` adds an
#' additional column with the _probability of direction_ (see
#' [`bayestestR::p_direction()`] for details). `groups` can be used to group
#' coefficients. It will be passed to the print-method, or can directly be
#' used in `print()`, see documentation in [`print.parameters_model()`].
#' Furthermore, see 'Examples' in [`model_parameters.default()`]. For
#' developers, whose interest mainly is to get a "tidy" data frame of model
#' summaries, it is recommended to set `pretty_names = FALSE` to speed up
#' computation of the summary table.
#' `bootstrap_model()`.
#'
#' Further non-documented arguments are:
#'
#' - `digits`, `p_digits`, `ci_digits` and `footer_digits` to set the number of
#' digits for the output. `groups` can be used to group coefficients. These
#' arguments will be passed to the print-method, or can directly be used in
#' `print()`, see documentation in [`print.parameters_model()`].
#' - If `s_value = TRUE`, the p-value will be replaced by the S-value in the
#' output (cf. _Rafi and Greenland 2020_).
#' - `pd` adds an additional column with the _probability of direction_ (see
#' [`bayestestR::p_direction()`] for details). urthermore, see 'Examples' for
#' this function.
#' - For developers, whose interest mainly is to get a "tidy" data frame of
#' model summaries, it is recommended to set `pretty_names = FALSE` to speed
#' up computation of the summary table.
#'
#' @inheritParams model_parameters.default
#' @inheritParams model_parameters.stanreg
Expand Down
30 changes: 17 additions & 13 deletions man/model_parameters.Rd

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

29 changes: 17 additions & 12 deletions man/model_parameters.averaging.Rd

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

29 changes: 17 additions & 12 deletions man/model_parameters.cgam.Rd

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

29 changes: 17 additions & 12 deletions man/model_parameters.default.Rd

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

29 changes: 17 additions & 12 deletions man/model_parameters.glht.Rd

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

29 changes: 17 additions & 12 deletions man/model_parameters.htest.Rd

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

Loading

0 comments on commit 034f5df

Please sign in to comment.