Re: [R] How to output 0.405852702657738 as 0.405853 ?

From: <ctu_at_bigred.unl.edu>
Date: Fri, 11 Jul 2008 00:23:57 -0500

> round(0.405852702657738,6)

[1] 0.405853

Super
Chunhao Tu

Quoting Daren Tan <daren76_at_hotmail.com>:

>
> I am confused by options("digits") and options("scipen"), which
> should be used to output 0.405852702657738 as 0.405853 in
> write.table ?
> _________________________________________________________________
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>



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. Received on Fri 11 Jul 2008 - 05:28:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 11 Jul 2008 - 08:31:57 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive