Skip to content

Commit

Permalink
lintr, spell
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Aug 28, 2024
1 parent d27281c commit 11a881b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions R/print-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ print.r2_bayes <- function(x, digits = 3, ...) {
ci = attributes(x)$CI$R2_Bayes_marginal$CI,
digits = digits
)
out <- paste0(c(out, sprintf(" Marginal R2: %.*f (%s)", digits, x$R2_Bayes_marginal, r2_marginal_ci)), collapse = "\n")
out <- paste(c(
out,
sprintf(" Marginal R2: %.*f (%s)", digits, x$R2_Bayes_marginal, r2_marginal_ci)
), collapse = "\n")
}

cat(out)
Expand Down Expand Up @@ -155,7 +158,10 @@ print.r2_loo <- function(x, digits = 3, ...) {
ci = attributes(x)$CI$R2_loo_marginal$CI,
digits = digits
)
out <- paste0(c(out, sprintf(" Marginal R2: %.*f (%s)", digits, x$R2_loo_marginal, r2_marginal_ci)), collapse = "\n")
out <- paste(c(
out,
sprintf(" Marginal R2: %.*f (%s)", digits, x$R2_loo_marginal, r2_marginal_ci)
), collapse = "\n")
}

cat(out)
Expand Down
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ DAGs
DBSCAN
DOI
Datenerhebung
De
Delacre
Deskriptivstatistische
DHARMa
Expand Down

0 comments on commit 11a881b

Please sign in to comment.