Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 11, 2023
1 parent afc1333 commit 06ab471
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 7 deletions.
1 change: 1 addition & 0 deletions R/display.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ display.parameters_model <- function(object,
font_size = "100%",
line_padding = 4,
column_labels = NULL,
add_reference = FALSE,
verbose = TRUE,
...) {
if (identical(format, "html")) {
Expand Down
4 changes: 4 additions & 0 deletions R/print.parameters_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ print.parameters_model <- function(x,
groups = NULL,
column_width = NULL,
ci_brackets = c("[", "]"),
add_reference = FALSE,
...) {
# save original input
orig_x <- x
Expand Down Expand Up @@ -286,6 +287,7 @@ print.parameters_model <- function(x,
ci_brackets = ci_brackets,
format = "text",
groups = groups,
add_reference = add_reference,
...
)

Expand Down Expand Up @@ -382,6 +384,7 @@ print.parameters_random <- function(x, digits = 2, ...) {
ci_brackets = TRUE,
format = "text",
group = NULL,
add_reference = FALSE,
...) {
format(
x,
Expand All @@ -396,6 +399,7 @@ print.parameters_random <- function(x, digits = 2, ...) {
zap_small = zap_small,
format = format,
group = group,
add_reference = add_reference,
...
)
}
Expand Down
2 changes: 2 additions & 0 deletions R/print_html.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ print_html.parameters_model <- function(x,
font_size = "100%",
line_padding = 4,
column_labels = NULL,
add_reference = FALSE,
verbose = TRUE,
...) {
# check if user supplied digits attributes
Expand Down Expand Up @@ -82,6 +83,7 @@ print_html.parameters_model <- function(x,
ci_brackets = ci_brackets,
format = "html",
groups = groups,
add_reference = add_reference,
...
)

Expand Down
2 changes: 2 additions & 0 deletions R/print_md.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ print_md.parameters_model <- function(x,
show_formula = FALSE,
zap_small = FALSE,
groups = NULL,
add_reference = FALSE,
verbose = TRUE,
...) {
# check if user supplied digits attributes
Expand Down Expand Up @@ -66,6 +67,7 @@ print_md.parameters_model <- function(x,
ci_brackets = ci_brackets,
format = "markdown",
groups = groups,
add_reference = add_reference,
...
)

Expand Down
13 changes: 8 additions & 5 deletions man/display.parameters_model.Rd

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

5 changes: 3 additions & 2 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 06ab471

Please sign in to comment.