Skip to content

Commit

Permalink
pass down args
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 18, 2023
1 parent 57a6ca8 commit 2cac6ee
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: parameters
Title: Processing of Model Parameters
Version: 0.21.2.1
Version: 0.21.2.2
Authors@R:
c(person(given = "Daniel",
family = "Lüdecke",
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* `principal_components()` and `factor_analysis()` now also work when argument
`n = 1`.

* `print_md()` for `compare_parameters()` now gains more arguments, similar to
the `print()` method.

# parameters 0.21.2

## Changes
Expand Down
9 changes: 7 additions & 2 deletions R/print_md.R
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ print_md.compare_parameters <- function(x,
footer = NULL,
select = NULL,
split_components = TRUE,
ci_brackets = c("(", ")"),
zap_small = FALSE,
groups = NULL,
...) {
# check if user supplied digits attributes
if (missing(digits)) {
Expand All @@ -158,8 +161,10 @@ print_md.compare_parameters <- function(x,
ci_digits = ci_digits,
p_digits = p_digits,
ci_width = NULL,
ci_brackets = c("(", ")"),
format = "markdown"
ci_brackets = ci_brackets,
format = "markdown",
zap_small = zap_small,
groups = groups
)

insight::export_table(
Expand Down
4 changes: 2 additions & 2 deletions man/reexports.Rd

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

0 comments on commit 2cac6ee

Please sign in to comment.