Skip to content

Commit

Permalink
fix RD
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 21, 2023
1 parent a1c1488 commit dfd8d4e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion R/compare_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#'
#' @return A data frame of indices related to the model's parameters.
#'
#' @examples
#' @examplesIf require("gt", quietly = TRUE)
#' data(iris)
#' lm1 <- lm(Sepal.Length ~ Species, data = iris)
#' lm2 <- lm(Sepal.Length ~ Species + Petal.Length, data = iris)
Expand Down
26 changes: 12 additions & 14 deletions R/print.parameters_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,26 +146,24 @@
#' [`print_md()`][print_md.parameters_model]. See also
#' [`display()`][display.parameters_model].
#'
#' @examples
#' @examplesIf require("gt", quietly = TRUE) && require("glmmTMB", quietly = TRUE)
#' \donttest{
#' library(parameters)
#' if (require("glmmTMB", quietly = TRUE)) {
#' model <- glmmTMB(
#' count ~ spp + mined + (1 | site),
#' ziformula = ~mined,
#' family = poisson(),
#' data = Salamanders
#' )
#' mp <- model_parameters(model)
#' model <- glmmTMB::glmmTMB(
#' count ~ spp + mined + (1 | site),
#' ziformula = ~mined,
#' family = poisson(),
#' data = Salamanders
#' )
#' mp <- model_parameters(model)
#'
#' print(mp, pretty_names = FALSE)
#' print(mp, pretty_names = FALSE)
#'
#' print(mp, split_components = FALSE)
#' print(mp, split_components = FALSE)
#'
#' print(mp, select = c("Parameter", "Coefficient", "SE"))
#' print(mp, select = c("Parameter", "Coefficient", "SE"))
#'
#' print(mp, select = "minimal")
#' }
#' print(mp, select = "minimal")
#'
#'
#' # group parameters ------
Expand Down
2 changes: 2 additions & 0 deletions man/compare_parameters.Rd

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

26 changes: 13 additions & 13 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 dfd8d4e

Please sign in to comment.