Question: BA 2 1 6 S 2 4 HW 1 Due Date: 1 / 2 2 / 2 0 2 4 Monday 1 2 : 0
BA S HW
Due Date: Monday : pm
Please write or print your answer and submit the paper in class.
Create three vectors. County consists the name of ten counties in California. Population consists their population. Income consists their median household income. Create a data frame including those three variables. Provide the R code only.
Last year, each family received a tax credit of $ Calculate the adjusted income for the ten counties using one command. Provide the R code only.
Calculate the mean, median, maximum, minimum, variance, standard deviation, first quartile, and third quartile of the population. Provide both the code and the result.
Import the Wage sheet of data BAData.
a Draw a horizontal boxplot of the experience variable, coloring it with red. Provide the code only.
b Draw the histogram of the experience variable, making breaks and filling with blue. Provide the code only.
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
