Drop hier links of afbeeldingen om ze aan de editor toe te voegen.

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).