O'Reilly logo

Data Analysis with R - Second Edition by Tony Fischetti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Functional programming as a main tidyverse principle

It would serve us well to point out some of these principles before we get to using dplyr--this will help us contrast these tidy tools with data.table’s approach and add context to the types of manipulations that we’ll be seeing shortly. There is one main principle, in particular, that I believe underlies a lot of the other doctrines of the manifesto: the call to embrace functional programming.

Functional programming is a hot topic in computer science research. There’s a whole lot to know about this programming paradigm, and any attempt to distill it down to a paragraph explanation (which we are about to do) will be an oversimplification. But, mainly, this paradigm strongly advocates for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required