[R] Truncating trailing digits

Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com
Thu May 3 21:35:24 CEST 2007

Perhaps format is what you are looking for:


Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Pietrzykowski,
Matthew (GE, Research)
Sent: Thursday, May 03, 2007 12:14 PM
To: r-help at stat.math.ethz.ch
Subject: [R] Truncating trailing digits


I am relatively new to R and have a rudimentary question, I think.  How
does one
truncate the number of digits displayed after the decimal when viewing
the results
of analyses?

My apologies if this question has been answered previously, I was not
able to find
references very easily.

Thank you in advance,


	[[alternative HTML version deleted]]

R-help at stat.math.ethz.ch mailing list
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