saving . . . saved Assignment has been deleted. Assignment has been hidden .
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 11-12-20, 2:07 p.m. Joohi

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. 


11-12-20, 7:40 p.m. sudhakarst


thanks sir.
14-12-20, 2:51 p.m. Joohi


Log-in to answer to this question.