Skip to content
Prev 303683 / 398502 Next

merging and obtaining the nearest value

Hello,

Yes you can, if you have memory problems, say so and we'll see it then.
In the mean time, there's something you should change, to allow for 
several minima but to only return one per combination of  TYPE and DATE.

Replace this

x[which(min(a) == a), ]

by this

x[which.min(a), ]

Rui Barradas

Em 19-08-2012 12:00, Francesco escreveu: