Re: [R] decimal values

From: Oleg Sklyar <osklyar_at_ebi.ac.uk>
Date: Fri, 04 May 2007 16:29:56 +0100

?format

elyakhlifi mustapha wrote:
> hello,
> how can I do to drop decimal after the comma please for example for tthis line
>

>> print(P)

> [1] 62.000000 1.000000 7.661290 5.200000 17.100000 2.318801
>
> how canI do to keep only 62 1 7.66 5.2 17.1 2.32
> thanks
>
> __________________________________________________
>
>
> ble contre les messages non sollicitÚs
>
> [[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.
-- 
Dr Oleg Sklyar * EBI/EMBL, Cambridge CB10 1SD, England * +44-1223-494466

______________________________________________
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.
Received on Fri 04 May 2007 - 15:56:47 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 04 May 2007 - 16:31:52 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.