Learn R Programming

LFM (version 0.3.1)

Iris: 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)

Arguments

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

Run this code
# Load the dataset
data(Iris)

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

Run the code above in your browser using DataLab