You are on page 1of 1

R Practical Exercise 1

1. Create 5 vectors ERP, name, sex, height, weight containing real data of your 10 class mates
2. Make sex as factor
3. Create a data frame student that contains 5 vectors created in part 1
4. Execute the head and tail commands and show the outputs
5. Show the summary of all continuous columns
6. Create a frequency table of sex variable
7. Calculate mean, standard deviation, median, of all numeric columns
8. Draw scatterplot between height and weight column
9. Find the minimum and maximum height
10. Add two new in student data frame containing standardized version of height and weight

You might also like