[R] how to control the data type

zhongmiao wang zhongmiao at gmail.com
Fri Apr 21 05:00:25 CEST 2006

I am generating a random number with rnorm(1). The generated number
has 8 decimals. I don't want so many decimals. How to control the
number of decimals in R?

Zhongmiao Wang

More information about the R-help mailing list