Re: [R] Setting Number of Displayed Digits

2012-08-09 Thread Steve Taylor
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

Re: [R] Setting Number of Displayed Digits

2012-08-08 Thread Rich Shepard
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

Re: [R] Setting Number of Displayed Digits

2012-08-07 Thread David Winsemius
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

Re: [R] Setting Number of Displayed Digits

2012-08-07 Thread R. Michael Weylandt
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),

Re: [R] Setting Number of Displayed Digits

2012-08-07 Thread arun
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

Re: [R] Setting Number of Displayed Digits

2012-08-07 Thread Rui Barradas
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

Re: [R] Setting Number of Displayed Digits

2012-08-07 Thread Duncan Murdoch
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

[R] Setting Number of Displayed Digits

2012-08-07 Thread Rich Shepard
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

[R] Setting Number of Displayed Digits

2012-08-07 Thread Rich Shepard
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

[R] Setting Number of Displayed Digits

2012-08-07 Thread Rich Shepard
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