Question Completion Status: QUESTION 1 Use R. One of the standard learning data sets included in Ris the ToothGrowth dat
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question Completion Status: QUESTION 1 Use R. One of the standard learning data sets included in Ris the ToothGrowth dat
Question Completion Status: QUESTION 1 Use R. One of the standard learning data sets included in Ris the ToothGrowth data set. The tooth growth data set is the length of the odontoblasts (teeth) in each of 10 guinea pigs at three Vitamin C dosage levels (0.5, 1 and 2 mg) with two delivery methods (orange juice or ascorbic acid). The file contains 60 observations of 3 variables: • len : Tooth length • supp: Supplement type • dose : Dose in miligrams Tasks: 1. Load the Tooth Growth data data(ToothGrowth) 2. Describe the dataset (size, types of variables). What type of supplemets are studied? What dosages are used? 3. Plot two boxplots on the same plot, stratifying the dataset by the supplement type. Label the axes and create the legend 4. Create a subset of the dataset, select only VC supplement. What is the size of the dataset? 5. Plot boxplots on the same plot, stratifying the VC subset by the dosage of the supplement What is the best dosage? Find men and median tooth growth for each dose