rm(list=ls()) library(dplyr) data(‘airquality’) summary(airquality) str(airquality)
table(is.na(airquality))
sum(airquality\(Ozone) mean(airquality\)Ozone)
sum(airquality\(Ozone, na.rm=TRUE) mean(airquality\)Ozone,na.rm=TRUE)
data(iris)
summary(iris)
boxplot(iris\(Petal.Length~iris\)Species,data=iris) data(“ChickWeight”) summary(ChickWeight) boxplot(ChickWeight\(weight~ChickWeight\)Diet,data=ChickWeight) hist(ChickWeight$weight)
data(“chickwts”) summary(chickwts) boxplot(chickwts\(weight~chickwts\)feed,data=chickwts)