Question
using ''mtcars' dataset which inside R-studio to answer, ( must include R-code, visualizations, due comments. ) 1. Make a summary of the mtcars -dataset using
using ''mtcars' dataset which inside R-studio to answer, (must include R-code, visualizations, due comments.)
1. Make a summary of the "mtcars" -dataset using appropriate methods.
2. Make a histogram showing how cars travel per a gallon.
3. Find the car that has the greatest horsepower.
4. List all tuples where the car has four cylinders.
5. Make a pie chart indicating how the number of cylinders is distributed among the cars. Show
another way to visualise the distribution.
6. Explain what the findings are from the scatterplot plot(mpg~hp, data=mtcars).
7. Make a boxplot that shows how the horsepower is distributed and explain the findings from the
plot. What is the role of the median value in summary statistics?
8. Show a textual table which shows how the gear-parameter is distributed.
9. Arrange the cars in descending order as to their economy and show the top three cars.
10. Explain what the term correlation means and what is a correlogram. Find the correlation
between different pairs of attributes in the table. Explain how mpg correlates with hp.
HINT. Try plot-command for the correlograms.
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