Assignment
Title
Question
I am facing following error in assignment .
Error in select(Ozone, Wind, Temp) : object 'Ozone' not found
> View(qualityOWT)
Error in View : object 'qualityOWT' not found
> airqualityOWT <- select(ozone,Wind,Temp)
Error in select(ozone, Wind, Temp) : object 'ozone' not found
> View(qualityOWT)
Error in View : object 'qualityOWT' not found
> airqualityOWT <- select(Ozone,Wind,Temp)
Error in select(Ozone, Wind, Temp) : object 'Ozone' not found
> View(qualityOWT)
Error in View : object 'qualityOWT' not found
>
R Data-Manipulation-using-dplyr-Package 12-13 min 10-20 sec
Answers:
You should modify your commands as given below,
qualityOWT <- select(airquality, Ozone, Wind, Temp)
View(qualityOWT)
The first argument in the select function is the name of the data frame. Here it is airquality. Other arguments are the variables that we want to select.
Login to add comment