[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:

?format



Charles Annis, P.E.

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

-----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

Hello,

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,

Matt



	[[alternative HTML version deleted]]

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