Skip to content
Prev 285660 / 398502 Next

editing import data, strings

If you know all your data should be numeric, you could perhaps try
something like this:

apply(a, 2, function(x) as.numeric(gsub(" ", "", x)))

but it can't be tested without your actual data. (Look at dput() for
the best way to send data by email)

Michael
On Fri, Feb 17, 2012 at 12:24 PM, gaja <gajahorvat at hotmail.com> wrote: