Question: Create a vector K with the following weights for 1 2 individuals: 5 6 , 7 8 , 9 6 , 6 7 , 8
Create a vector K with the following weights for individuals:
a Write an R command to extract the value of the vector K
b Write an R command to extract the first elements of the vector K
c Write an R command to extract the last elements of the vector K
d In this group, people whose weights exceed kg are classified as overweight. Write R commands to extract the weights of the overweight people in this group
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
