boxplot(iris$Sepal.Length,horizontal = TRUE)
hist(iris$Sepal.Length)
library(moments)
summary(iris$Sepal.Length)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 4.300 5.100 5.800 5.843 6.400 7.900
var(iris$Sepal.Length)
## [1] 0.6856935
sd(iris$Sepal.Length)
## [1] 0.8280661
skewness(iris$Sepal.Length)
## [1] 0.3117531
kurtosis(iris$Sepal.Length)
## [1] 2.426432
boxplot(iris$Sepal.Length~iris$Species)