iris_long: Edgar Anderson's Iris Data in long format.

Description Usage Format Details Source Examples

Description

Edgar Anderson's Iris Data in long format.

Usage

1

Format

A data frame with 600 rows and 5 variables

Details

This famous (Fisher's or Anderson's) iris data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris. The species are Iris setosa, versicolor, and virginica.

This is a modified dataset from datasets package.

Source

https://stat.ethz.ch/R-manual/R-devel/library/datasets/html/iris.html

Examples

1
2
3
dim(iris_long)
head(iris_long)
dplyr::glimpse(iris_long)

Example output

[1] 600   6
# A tibble: 6 x 6
     id Species condition    attribute measure value
  <int> <fct>   <fct>        <fct>     <fct>   <dbl>
1     1 setosa  Sepal.Length Sepal     Length    5.1
2     2 setosa  Sepal.Length Sepal     Length    4.9
3     3 setosa  Sepal.Length Sepal     Length    4.7
4     4 setosa  Sepal.Length Sepal     Length    4.6
5     5 setosa  Sepal.Length Sepal     Length    5  
6     6 setosa  Sepal.Length Sepal     Length    5.4
Rows: 600
Columns: 6
$ id        <int> 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,$ Species   <fct> setosa, setosa, setosa, setosa, setosa, setosa, setosa, set$ condition <fct> Sepal.Length, Sepal.Length, Sepal.Length, Sepal.Length, Sep$ attribute <fct> Sepal, Sepal, Sepal, Sepal, Sepal, Sepal, Sepal, Sepal, Sep$ measure   <fct> Length, Length, Length, Length, Length, Length, Length, Len$ value     <dbl> 5.1, 4.9, 4.7, 4.6, 5.0, 5.4, 4.6, 5.0, 4.4, 4.9, 5.4, 4.8,

ipmisc documentation built on May 7, 2021, 9:07 a.m.