Compute and Add new Variables to a Data Frame in R Hard 30 mins Alboukadel Kassambara This tutorial describes how to compute and add new variables to a data frame in R.