Blog Archives

R: Reduce() Part 2 – some pitfalls using Reduce

August 16, 2017
By

By Matthias Templ (ZHAW), Thoralf Mildenberger (ZHAW) By way of example, functionality of Reduce() is shown in in https://blog.zhaw.ch/datascience/r-reduce-applys-lesser-known-brother/ . It’s great to learn about how to use this function on interesting problems. If you are ready (equals if you … Continue reading →

Read more »

R: Reduce() – apply’s lesser known brother

July 10, 2017
By
R: Reduce() – apply’s lesser known brother

By Thoralf Mildenberger (ZHAW) Everybody who knows a bit about R knows that in general loops are said to be evil and should be avoided, both for efficiency reasons and code readability, although one could argue about both. The usual … Continue reading →

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)