Extracting vectors from data frames (dplyr)
Using the Portal data surveys table:
- Use
$to extract theweightcolumn into a vector - Use
[]to extract themonthcolumn into a vector - Extract the
hindfoot_lengthcolumn into a vector and calculate the mean hindfoot length ignoring null values.