[R] Setting Number of Displayed Digits

Steve Taylor steve.taylor at aut.ac.nz
Thu Aug 9 23:02:02 CEST 2012


Have you tried:  options(digits=9)

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Rich Shepard
Sent: Wednesday, 8 August 2012 5:51a
To: r-help at r-project.org
Subject: [R] Setting Number of Displayed Digits

   Some chemicals have concentrations at or below the method detection limit
(MDL; 'less-thans') of 0.005 mg/L. When I look at the data frame that is how
the concentration is displayed. But, when I ask for a summary() of that data
frame column only 0 is displayed.

   How can I adjust the number of digits displayed by functions such as
summary()?

Rich

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list