Hi,

I have an accounting data with "%" at the end and "()" for negative.
E.g.  if I read in with read.table, then R reads in as a factor:

[11625] 4.61%    ( 4.11%) 29.85%   ( 1.27%) 16.04%   21.31%   14.09%
39.71%
[11633] 3.03%    17.39%   80.13%
6648 Levels:  ( 0.00%) ( 0.03%) ( 0.04%) ( 0.05%) ( 0.06%) ( 0.07%) ...
99.70%
And I was wondering how to convert this column into numeric numbers in R?

Thanks a lot!

Young

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.

Reply via email to