Skip to content

Commit

Permalink
update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 7, 2024
1 parent 7d348ad commit aa07893
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 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.22.2.17
Version: 0.22.2.18
Authors@R:
c(person(given = "Daniel",
family = "Lüdecke",
Expand Down
8 changes: 4 additions & 4 deletions R/format.R
Original file line number Diff line number Diff line change
Expand Up @@ -573,13 +573,13 @@ format.parameters_sem <- function(x,
}

# footer: r-squared
if (isTRUE(show_r2)) {
footer <- .add_footer_r2(footer, digits, r2, type)
if (isTRUE(show_rmse)) {
footer <- .add_footer_values(footer, digits, value = rmse, text = "RMSE ", type)
}

# footer: r-squared
if (isTRUE(show_rmse)) {
footer <- .add_footer_values(footer, digits, value = rmse, text = "RMSE ", type)
if (isTRUE(show_r2)) {
footer <- .add_footer_r2(footer, digits, r2, type)
}

# footer: p-adjustment
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/model_parameters.fixest.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
Model: QoL ~ time + phq4 (564 Observations)
Sigma: 12.365 (df = 561)
r2: 0.743; ar2: 0.613; wr2: 0.180; war2: 0.175
RMSE : 10.069
r2: 0.743; ar2: 0.613; wr2: 0.180; war2: 0.175

2 changes: 1 addition & 1 deletion tests/testthat/_snaps/model_parameters.glm.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
Model: mpg ~ wt (32 Observations)
Sigma: 3.046 (df = 30)
R2: 0.753; adjusted R2: 0.745
RMSE : 2.949
R2: 0.753; adjusted R2: 0.745

---

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/model_parameters.mixed.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
Model: wt ~ cyl (32 Observations)
Sigma: 0.594 (df = 28)
Conditional R2: 0.628; Marginal R2: 0.550
RMSE : 0.564
Conditional R2: 0.628; Marginal R2: 0.550
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/printing.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
Model: Sepal.Length ~ Species * Petal.Length (150 Observations)
Sigma: 0.336 (df = 144)
R2: 0.840; adjusted R2: 0.835
RMSE : 0.330
R2: 0.840; adjusted R2: 0.835
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
Expand Down

0 comments on commit aa07893

Please sign in to comment.