Hacker News new | ask | show | jobs
by notafraudster 2544 days ago
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.
1 comments

Beware that apply() coerces data frames to matrices, which is time consuming and forces all columns to have the same type.