Skip to content

Commit

Permalink
Another tweak to plotQuantileCIsfromDat to handle singular or plural …
Browse files Browse the repository at this point in the history
…quantiles correctly in the annotation to the graph, i.e. to avoid "quantiles = .5"!
  • Loading branch information
cpsyctc committed May 4, 2024
1 parent 0e0f628 commit 6ff3a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plotQuantileCIsfromDat.R
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ plotQuantileCIsfromDat <- function(vecDat = NA, vecQuantiles = NA, method = c("N
"n(missing) = ", nMiss, "\n",
"n(usable) = ", nOK, "\n",
"ci = ", ci, " i.e. ", paste0(100 * ci), "%\n",
"quantiles = ", vecQuantiles)
"quantile = ", vecQuantiles)
} else {
annotateText <- paste0("n(total) = ", nAll, "\n",
"n(missing) = ", nMiss, "\n",
Expand Down

0 comments on commit 6ff3a51

Please sign in to comment.