Q1. Use the variable Dodgers in the data set MLBSalary.xlsx attached and answer the following questions.a) Use
Question:
Q1. Use the variable Dodgers in the data set "MLBSalary.xlsx" attached and answer the following questions.a) Use RStudio to produce a histogram. Label the x-axis with "Salary ($)" and the chart title with "Histogram of Dodgers Salary". Fill the bars with your favorite color (do NOT use the default color). Attach your R codes & R output (screenshots). b) Use RStudio to produce a horizontal box-and-whisker plot. Label the x-axis with "Salary ($)" and the chart title with "Boxplot of Dodgers Salary". Attach your R codes & R output (screenshots). c) Use RStudio to calculate the mean, median, minimum, maximum, first quartile, third quartile, standard deviation, range and interquartile range. Attach your R codes & R output (screenshots). d) Write out the five-number summary. e) Determine if there is/are any outlier(s) in the data. Make sure show all your calculation steps.
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/66789dc2e88d0_73866789dc2c514b.jpg)