Skip to content

How could I restrict and reordered data.frames?

2 messages · Csima Gabriella, jim holtman

#
? merge
+
+ 12844   14.1
+
+ 12843   16.5
+ 12860   14.9
+ 12851    9.8
+
+ 12846   15.3"), col.names=c('station', 'obs'))
+ 12836   12.725081
+ 12843   15.241580
+ 12844   15.185887
+ 12846   13.723515
+ 12851    8.498717
+ 12860   15.715260
+ 12866   14.262023
+ 12870   12.968392"), col.names=c('station', 'fore'))
station  obs      fore
1   12830   NA 12.808611
2   12836   NA 12.725081
3   12843 16.5 15.241580
4   12844 14.1 15.185887
5   12846 15.3 13.723515
6   12851  9.8  8.498717
7   12860 14.9 15.715260
8   12866 14.4 14.262023
9   12870   NA 12.968392
You can then order by the first column.
On Thu, May 20, 2010 at 6:22 AM, Csima Gabriella <csima.g at met.hu> wrote: