For this problem we will make some plots with the mtcars data set in the datasets library. library (datasets) If you're

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

For this problem we will make some plots with the mtcars data set in the datasets library. library (datasets) If you're

Post by answerhappygod »

For This Problem We Will Make Some Plots With The Mtcars Data Set In The Datasets Library Library Datasets If You Re 1
For This Problem We Will Make Some Plots With The Mtcars Data Set In The Datasets Library Library Datasets If You Re 1 (89.68 KiB) Viewed 58 times
For this problem we will make some plots with the mtcars data set in the datasets library. library (datasets) If you're not happy with the size and scale of your plots, these can be changed via RMarkdown options. For example, my barplot in part 4 of this problem uses the following options: {r, fig.align="center", fig.dim-c (4.5, 4.5), out.width="40%", out.height="40%"} fig.dim specifies the dimensions of the figure while the out parameters are used to scale the figure. 1. Provide a brief description of this data set and some of the variables. Is it a tibble? 2. Create the following histogram of displacement along with vertical lines indicating the mean and median displacement. Hint: I set the breaks to go from 0 to 500 in increments of 25.
3. Create the following boxplot of the 1/4 mile time against the number of cylinders. There is one outlier. Which car is the outlier? To answer this, note that the names of the cars are row names in the data set. 1/4 mile time (sec) Displacement (cu.in.) À ~ 6 4. Create the following barplot of counts of cars with different numbers of cylinders. Number of Cylinders
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply