[20 points). Use the Animals data from the MASS package. This data set includes average brain and body weights for 28 sp
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
[20 points). Use the Animals data from the MASS package. This data set includes average brain and body weights for 28 sp
questions, provide the R commands that you used and the results of the commands along with the graphic output. a) Plot the histograms of the two numerical variables. Are the histograms bimodal or unimodal? Are they skewed or not? Comment on the shape of the histogram. b) Compute mean, median, variance and standard deviation measures for the Animal body weights variable c) Compute quantiles of 10, 25, 75, 90 for the Animal brain weights variable
[20 points). Use the Animals data from the MASS package. This data set includes average brain and body weights for 28 species of land animals. If you have not installed MASS package, you can install it by using command: >install.packages ("MASS") Once installed, you can load the dataset and make it available for further processing by using command; >library (MASS) >data (Animals) For the following