[R] (no subject)

Bernard L. Dillard bld at math.umd.edu
Thu Jun 23 17:42:57 CEST 2005


Hello Rers:

Let's say I have a column that looks like this:

Column
167.8
292.8
363.3
1.9
115.25

I want to manipulate the above data such that I only end up with this same
column but only with its decimals and not its whole numbers.  So the new
column would look like this (but the real column is VERY long):

Column
.8
.8
.3
.9
.25

Any suggestions about how I could do this?


-- 
Do all you can with what you have in the time you have in the place you are!

-Nkosi Johnson, 12-year old African hero




More information about the R-help mailing list