[R] limit digits in text()? --> use formatC()

Bill Simpson wsimpson at gcal.ac.uk
Thu Jun 10 12:50:28 CEST 1999


> My answer is:  Instead of round(.), use  
> 
>     formatC(...  ,  digits = ..., width = ... )
OK, thanks very much.

Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list