typestar

Data frames in base R

8 steps in 3 sets of R.

Data frames before the tidyverse gets involved. Building them, inspecting them, reshaping and combining them, all in base R.

Eight steps, and worth doing even if you intend to live in dplyr. Plenty of code you will inherit was written before 2014, and the base idioms are what it is made of.

Start this tour

Building & inspecting

Reshaping & combining

Encore

  • survey_report.RClean a survey data frame and report grouped results in base R.

The other R tours