Iris: Iris Data

IrisR Documentation

Iris Data

Description

The Iris dataset is a classic and widely-used dataset in the field of machine learning and statistics. It contains measurements of sepal length, sepal width, petal length, and petal width for three species of iris plants. The dataset is commonly used for classification tasks.

Usage

data(Iris)

Format

A data frame with 150 rows and 5 columns representing different features of iris plants.

  • Sepal.Length: Sepal length in centimeters (continuous).

  • Sepal.Width: Sepal width in centimeters (continuous).

  • Petal.Length: Petal length in centimeters (continuous).

  • Petal.Width: Petal width in centimeters (continuous).

  • Species: Species of iris plant (categorical): Iris Setosa, Iris Versicolor, or Iris Virginica.

Examples

# Load the dataset
data(Iris)

# Print the first few rows of the dataset
print(head(Iris))

LFM documentation built on June 11, 2025, 9:07 a.m.

Related to Iris in LFM...