swirldev/swirl_courses

Exploratory Data Analysis: Use of with() should be accepted

Opened this issue · 0 comments

After learning how to use with to minimize typing, answers using with should be accepted. An example of this is in lesson 5 (Base Plotting):

| Plot airquality$Ozone and airquality$Solar.R and use main to specify the
| title "Ozone and Solar Radiation".

> with(airquality, plot(Ozone, Solar.R, main = "Ozone and Solar Radiation"))

| That's not the answer I was looking for, but try again. Or, type info()
| for more options.

| Type plot(airquality$Ozone, airquality$Solar.R, main = "Ozone and Solar
| Radiation").

> plot(airquality$Ozone, airquality$Solar.R, main = "Ozone and Solar Radiation")

| Great job