iris2 {tablesgg}R Documentation

A Reshaped Version of Anderson's Iris Data

Description

This is the same as R's built-in iris data set, but reshaped into “long” format. It contains four measurements for 50 flowers from each of three species of iris.

Usage

iris2

Format

A data frame with 600 observations on the following 5 variables.

plant

a numeric vector, numbering the flowers from 1 to 150

Species

a factor with levels setosa versicolor virginica

flower_part

a factor with levels Sepal Petal

direction

a factor with levels Length Width

value

a numeric vector, the measured value, in centimeters

Source

Examples

data(iris2)
str(iris2)

[Package tablesgg version 0.9-1 Index]