Hi
I have a called fil consisting of the following strings.

> fil
  [1] " 102.2 639"   " 104.2 224"   " 105.1 1159"  " 107.1 1148"  
      " 108.1 1376"
  [6] " 109.2 1092"  " 111.2 1238"  " 112.2 349"   " 113.1 1204"  
      " 114.1 537"
 [11] " 115.0 303"   " 116.1 490"   " 117.2 202"   " 118.1 1864"  
      " 119.0 357"


I want to get a data frame like

Time    Obs
102.2   639
104.2   224
105.1  1159
107.1  1148
108.1  1376
109.2  1092
111.2  1238
112.2   349
113.1  1204  
114.1   537
etc

Can anyone see an efficient way of doing this?

Thanks. Stephen

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to