Skip to content

Commit

Permalink
replaced ± with \u00B1
Browse files Browse the repository at this point in the history
  • Loading branch information
qddyy committed Jul 8, 2024
1 parent 09e9e99 commit 499772a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions R/PermuTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,11 @@ PermuTest <- R6Class(
if (p < eps) "<" else "=",
if (p < eps) format(eps) else format(p),
if (private$.type == "permu" && private$.n_permu != 0) {
d <- qnorm(0.975) * sqrt(p * (1 - p) / n_used)
paste("", format(d), "at a 95% confidence level)")
q <- qnorm(0.975) * sqrt(p * (1 - p) / n_used)
paste0(
"(", "\u00B1 ", format(q),
" at a 95% confidence level", ")"
)
}
)
},
Expand Down

0 comments on commit 499772a

Please sign in to comment.