percent | R Documentation |
Returns strings of the same length as p
, displaying the
100 * p
percentages.
percent(p, d = 0, sep = " ")
p |
number(s) in |
d |
number of digits after decimal point. |
sep |
separator to use before the final |
character vector of the same length as p
.
Martin Maechler
percent(0.25)
noquote(percent((1:10)/10))
(pc <- percent((1:10)/30, 1, sep=""))
noquote(pc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.