logical operators in R

I am facing the problem while using AND logical operator with the air quality index which preinstalled inthe Rstudio, I am trying to take the data which contain solar.R value greater than 150 and Wind value greater than 10, in the data of air quality index there are some NA values and I removed all the NA values from the data but still I am not getting the result so could anyone help me out to identify what is the problem

There are many ways to make a subset of a data frame. Here is one possible solution.

SmallAirQual <- subset(airquality, Solar.R > 150 &  Wind > 10)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.