[R] re moving parentheses/square brackets from data frame numbers

Thomsen S.Thomsen at Sussex.ac.uk
Mon Mar 10 15:15:14 CET 2008


Dear list,

I am importing data consisting of numbers into dataframes. Some of the
numbers are flanked by parentheses or square brackets. Thus, they are not
recognized as numeric and the corresponding column is of class "factor"
which makes it hard/impossible use in plotting functions.

Is there a way to remove brackets from numbers in a column/row/dataframe?

Kind regards,

Stefan
-- 
View this message in context: http://www.nabble.com/removing-parentheses-square-brackets-from-data-frame-numbers-tp15950774p15950774.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list