Drop links or images here to add them to the editor.

Adding calculated fields to data

Use the names() function to get an overview of the variable names of the dataset.
In your RStudio environment, complete the code to create a vector BMI within the BEPAS dataset, containing the calculated BMI’s of the subjects.

BEPAS$BMI <- BEPAS$weight/...

What is the BMI of the third subject? (Copy the bmi from you environment and paste it below).