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

From: Dimitris Rizopoulos <dimitris.rizopoulos_at_med.kuleuven.be>
Date: Mon 13 Feb 2006 - 19:36:26 EST

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


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



R-help@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 Received on Mon Feb 13 19:39:26 2006

This archive was generated by hypermail 2.1.8 : Tue 14 Feb 2006 - 01:09:42 EST