Skip to content

Commit

Permalink
Update R/report_s.R
Browse files Browse the repository at this point in the history
Co-authored-by: Brenton M. Wiernik <[email protected]>
  • Loading branch information
strengejacke and bwiernik authored Jul 27, 2023
1 parent 59f7547 commit 37ad554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/report_s.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ report_s <- function(s = NULL, p = NULL) {
all_heads <- round(s)
chance <- sprintf("%.2g", 100 * p)
msg <- paste0(
"If the test hypothesis and entire model (all assumptions) were true, ",
paste0("If the test hypothesis (", test_parameter, " = ", test_value) " and all model assumptions were true, ",
"there is a ", chance, "% chance of observing this outcome. How weird is that? ",
"It's hardly more surprising than getting ", all_heads, " heads in a row with fair coin tosses."
)
Expand Down

0 comments on commit 37ad554

Please sign in to comment.