[R] R-help, specifying the places to decimal

Dimitris Rizopoulos dimitris.rizopoulos at med.kuleuven.be
Mon Feb 13 09:36:26 CET 2006


have a look at ?round()

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://www.med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Subhabrata" <subhabratapal at sraindia.com>
To: "r-help" <r-help at stat.math.ethz.ch>
Sent: Monday, February 13, 2006 9:33 AM
Subject: [R] R-help, specifying the places to decimal


> Hello - R-experts,
>
>
> Is there any way with which we can specify the number after
> decimal point to take. Like I have a situation where
> the values are comming 0.160325923 but I only want
> 4 place to decimal say 0.1603. Is there any way for that.
>
> I am no expert in R- and this may sound simple to many.sorry
>
>
> Thanks for any help.
>
> With Regards
>
> Subhabrata
>
> ______________________________________________
> 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
> 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




More information about the R-help mailing list