Skip to content

Commit

Permalink
Add basic print output for simulate_residuals()
Browse files Browse the repository at this point in the history
  • Loading branch information
mccarthy-m-g committed Oct 27, 2023
1 parent 30038c9 commit 50f1f3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/simulate_residuals.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ print.performance_simres <- function(x, ...) {
# TODO (low priority): We can probably just base this off of the print method
# DHARMa uses, but with an easystats style. For now we can just stick with
# DHARMa's method.
print(x)
cat(
"Simulated residuals from a model of class", class(x$fittedModel),
"based on", x$nSim, "simulations."
)
}

0 comments on commit 50f1f3d

Please sign in to comment.