Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Use New Drug data ( Hint: Please copy and paste the data on worksheet New Drug and create a text file or CSV
Use New Drug data Hint: Please copy and paste the data on worksheet New Drug and create a text file or CSV file. Then, importread the data from the file into Ra Use R to create a histogram for Age.b Use R to show the mean, median, mode, standard deviation, min, and max for BeforeexpBP and AfterexpBP respectively.c Use R to create a BoxPlot for BeforeexpBP and AfterexpBP respectively.d Use R to create a stemandleaf for Age. Which one do you like, histogram or stemandleaf? Please do the following problems about data visualization. For each plot, you need to add a title for your work: Your LastName Figure X The scripts sample: labstitle "Your LastName Figure X can be added for this purposePlease use the builtin dataset SAT in the package MosaicData. Plot a scatterplot for the variables salary and sat. Your plot should be the same as the plot below. The main features: purple points, red line, and Yaxis with $ Use the title like Your LastName Figure for your plot. Please use the builtin dataset CPS in the package MosaicData. Plot a bar chart for the variable sector. Your plot should be the same as the plot below. The main features: purple bars, horizontal bars ranked from the highest to the lowest Use the title like Your LastName Figure for your plot.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started