Skip to content
Prev 8665 / 15274 Next

AsOf join in R

Hi Brian,

Thanks for getting back. I'm afraid it's not doing what I intend. If
you see value of B after asof join on 2011-09-09, cbind and na.locf
will give you 1.5 as opposed to 1.1. I would like to have latest value
available prior to 2011-09-09 from B which will be 1.1 on 2011-09-09.
It's a strict inquality for this operation. Would you have any other
recommendation? Thank you again.

Robert.
On Wed, Oct 5, 2011 at 6:21 AM, Brian G. Peterson <brian at braverock.com> wrote: