Irises | R Documentation |
Data for Examples 1.15 and 5.19
Irises
A data frame/tibble with 150 observations on five variables
sepal length (in cm)
sepal width (in cm)
petal length (in cm)
petal width (in cm)
a factor with levels setosa
, versicolor
, and virginica
Fisher, R. A. (1936) The use of multiple measurements in taxonomic problems. Annals of Eugenics, 7, Part II, 179-188.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
tapply(Irises$sepal_length, Irises$species, mean)
t.test(Irises$sepal_length[Irises$species == "setosa"], conf.level = 0.99)
hist(Irises$sepal_length[Irises$species == "setosa"],
main = "Sepal length for\n Iris Setosa",
xlab = "Length (in cm)")
boxplot(sepal_length ~ species, data = Irises)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.