| iris2 | R Documentation |
This dataset is an adaptation of the famous Iris dataset. The original dataset contains measurements of iris flowers from three different species. In this adaptation, the dataset has been modified to create an ordinal response variable based on petal length, categorizing it into three groups: Low, Medium, and High, so that it shows separation. The dataset consists of five predictor variables and one ordinal response variable.
data(iris2)
A data frame with 150 rows and 6 coumns/variables:
An ordered factor representing the petal length category:
Low: Petal length less than 2.5
Medium: Petal length between 2.5 and 5.0
High: Petal length greater than 5.0
Numeric. The length of the sepal in centimeters.
Numeric. The width of the sepal in centimeters.
Numeric. The length of the petal in centimeters.
Numeric. The width of the petal in centimeters.
Categorical. The species of Iris.
The original Iris dataset is available as data(iris) in R
# View the structure of the dataset
str(iris2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.