Hi,

I am working with a dataset for sometime and I need some help in parsing
some data.

There is a column called "Duration" which has data like following:

2 minutes => 120
2 min => 120
10 seconds =>10
2 hrs =>7200
 2-3 minutes => 150 or 120
5 minutes (when i arrived => 300
Flyby approx 20 sec. => 20
felt like 10 mins but tim => 600

I need to convert them to numerics as given. Any help in this regard will be
highly appreciated.

Thanks
Susanta

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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