Body mass index is calculated using the following parameters
Based on the two parameters, BMI is generated.
weight <- 75 #in Kgs. height <- 1.6 # in meters bmi <- (weight)/(height^2) print(bmi)
[1] 29.29687
Thank You.