Description Usage Arguments Details Value Author(s) Examples
Pretty print percentages.
1 | prettypc(x, digits = 0)
|
x |
a vector of integer counts |
digits |
precision for percentages |
When digits
>0, the pretty printing right pads with
zeros. Percentages that are 0 (or 100) to digits
precision,
but are not exactly 0 (or 100), are displayed like “<1” (or
“>99”; as appropriate for digits
).
A character vector of percentages, rounded to digits
precision.
Toby Johnson Toby.x.Johnson@gsk.com
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.