1. Learn
  2. /
  3. Courses
  4. /
  5. Data Analysis and Statistical Inference

Exercise

Let's refresh

This is an exercise to refresh some of the things you learned in the previous exercise.

Remember how you select the data of a specific variable in your data frame? Or how R can act as a fancy calculator? You can prove it here!

Instructions

100 XP
  • Take a look at the height and genhlth variables of the cdc data frame. Use the head() functions to avoid flooding your console!
  • Assign the sum of 84941 and 19686 to the object sum.
  • Assign the multiplication of 73 and 51 to the object mult.