This post originated from an RSS feed registered with Java Buzz
by justin cater.
Original Post: R: Vectorising all the things
Feed Title: Java Code Geeks
Feed URL: http://feeds.feedburner.com/JavaCodeGeeks
Feed Description: Java 2 Java Developers Resource Center
After my last post about finding the distance a date/time is from the weekend Hadley Wickham suggested I could improve the function by vectorising it… @markhneedham vectorise with pmin(pmax(dateToLookup – before, 0), pmax(after – dateToLookup, 0)) / dhours(1) — Hadley Wickham (@hadleywickham) December 14, 2014 …so I […]