Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

number 3. I'm trying to find a way to replace all in carName. I tried using the stringr library, but I can't figure

number 3. I'm trying to find a way to replace all " " in carName. I tried using the stringr library, but I can't figure out how to write it in the format it needs to accomplsih what I need it to accomplish. This is done in R. Please help and show code. Please finish problem 3 complete and show work. Thank you! image text in transcribed
3. Use regular expressions to remove the quotes from the car nome and add a column containing the car roke (1.e. ford, hondo, etc.). Then construct a stde-by-side box plot of miles per gallon grouped by these mokes. library(string) autOMPGScarone - autopScarlane X str_replace_all(""*:*) impert Clobal war Data novo.re. Large Celmer BUONG 336 s. of war Rue 1 15 1816 17 15 4 L cylinders 1 III III displacent: 0735 3. N. horsepower 1 um 130 145 150 152 height 3504 93 304 343 acceleration 12 11.5 11 12 model Yeer 1 origint 1111111111 carlane: hr chevrolet cheve. echtsq.re list of of 32561 os, of 15 ver. df.ge 7001 of 2 variable Functions eing function (0) missvelve function() 4. Randomly sonple 75 of these vehicles and construct a histogran for the horsepower of the vehicles in your sample. Describe the shape of your histogran. Be sure to use "set.seed so that your sample is consistent. (solution evol=FALSE) 4:55 5. Construct 9SN confidence interval for the horsepower of the entire population of vehicles based on your sample of 75 taken above. How does the mean horsepower of the entire data set compare with your confidence intervall Chunk 26 Terminal Jobs 215/homework/elutions ViewCoutop) model actresiduos MacBook Air S88 80 % & 7

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions