Question: Question 14 (1 point) 1) Listen ? Consider the data frame airquality. How do you extract the values of the column Solar.R for the subset




Question 14 (1 point) 1) Listen ? Consider the data frame airquality. How do you extract the values of the column Solar.R for the subset of rows where Ozone values are above 31 and Temp values are above 90. sub = subset(airquality, Ozone > 31 & Temp > 90) sub = subset(airquality, Ozone > 31 & Temp > 90, select = Solar.R) sub = subset(airquality, Ozone > 31 | Temp > 90, select = Solar.R) Question 13 (1 point) 1) Listen We want to calculate the mean of the Ozone column in the dataset 'airquality! We want to exclude missing values (coded as NA) from this calculation. Which code does this? sub = subset(airquality, lis.na(Ozone), select = Ozone); mean(sub, 2, apply) mean(airquality$Ozone), notmissing) sub = subset(airquality, !is.na(Ozone), select = Ozone); apply(sub, 2, mean) Question 12 (1 point) Saved Listen ? Suppose I have a vector x = 11) = 11]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
