Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 466 Bytes

extracting-vectors-from-data-frames-R.md

File metadata and controls

12 lines (10 loc) · 466 Bytes
layout topic title language
exercise
dplyr
Extracting vectors from data frames
R

Using the Portal data surveys table (download a copy if it's not in your working directory):

  1. Use $ to extract the weight column into a vector
  2. Use [] to extract the month column into a vector
  3. Extract the hindfoot_length column into a vector and calculate the mean hindfoot length ignoring null values.