Extract the subset of rows of the data frame where Ozone values are above 31 and Temp values are above 90. What is the mean of Solar.R in this subset?

Google search: “R subset values in one column above threshold”

This was a very helpful link:

[1] http://www.ats.ucla.edu/stat/r/faq/subset_R.htm

This arrived at the correct answer:

### Like this:

Like Loading...

## About Lisa Johnson

PhD candidate at UC Davis in Molecular, Cellular, and Integrative Physiology

You are a life saver, been stressing over this and flicking through everything for ages.

Glad you found it helpful!