Have you tried: options(digits=9)
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Rich Shepard
Sent: Wednesday, 8 August 2012 5:51a
To: r-help@r-project.org
Subject: [R] Setting Number of Displayed Digits
Some chemicals have
On Tue, 7 Aug 2012, arun wrote:
formatC() may work for you.
Thanks for the lesson.
Rich
__
R-help@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
On Aug 7, 2012, at 2:30 PM, Rich Shepard wrote:
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
Can you provide a reproducible example: see, e.g., this site for how to do so:
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
Incidentally, I don't believe I can replicate your problem:
> x <- data.frame(conc = sample(c(100, 1,2,3, 0.005, 0.0005, 0.2),
12 3:22 PM
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
fr
Hello,
function summary.data.frame does have a 'digits' argument with a default
set to
max(3, getOption("digits")-3)
If you need more digits in your summary, call
summary(object, digits = getOption("digits"))
Hope this helps,
Rui Barradas
Em 07-08-2012 22:30, Rich Shepard escreveu:
Some
On 12-08-07 5:30 PM, Rich Shepard wrote:
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 d
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
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
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
10 matches
Mail list logo