R

Jami H.

asked • 11/02/20

Make is a variable in the data file. Why isn't it recognized?

Problem 5:


use the pipe operation to `%>%` pipe data from the MPG dataframe

- create a data frame called df_Toyota by performing the following

-- pipe from MPG

-- Filter make == 'Toyota'

-- Filter model age <= 5

-- Select make, model,model_age, city_mpg, hwy_mpg, cylinders, engine_displ


```{r eval=TRUE}

df_Toyota <-mpg_1 %>%

filter make == 'Toyota'%>%

filter model_age <= 5 %>%

select(make, model, model_age, city_mpg, hwy_mpg, cylinders, engine_displ)


Error: unexpected symbol in:

"df_Toyota <-mpg_1 %>%

filter make"



1 Expert Answer

By:

Tom K. answered • 11/02/20

Tutor
4.9 (95)

Knowledgeable and Friendly Math and Statistics Tutor

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.