[R] format as percentage

Santosh Srinivas santosh.srinivas at gmail.com
Wed Nov 10 09:55:13 CET 2010


Basic question ... checked the help page but the only answer was to use
paste!
Is there any way to format as %?

> degree = c(0.20,0.5)
> degree
[1] 0.2 0.5
> print(degree)
[1] 0.2 0.5

----------------------------------------------------------------------------
--------------------------
Thanks R-Helpers. Yes, this is a silly question and it will not be repeated!
:-)



More information about the R-help mailing list