News for hackers. Stuff that matters.
Re:An opinionated view of the Tidyverse “dialect” of the R l... by notafraudster on Friday July 05, 2019 @08:36PM (#20366977)
Right, which is why my example used its cousin, apply, instead of lapply. apply over the row margins of a data frame does not have an equivalent in tidyverse.
Re:An opinionated view of the Tidyverse “dialect” of the R l... by hadley on Saturday July 06, 2019 @11:02AM (#20370007)
Beware that apply() coerces data frames to matrices, which is time consuming and forces all columns to have the same type.