R Dataset / Package cluster / flower


On this Picostat.com statistics page, you will find information about the flower data set which pertains to Flower Characteristics. The flower data set is found in the cluster R package. You can load the flower data set in R by issuing the following command at the console data("flower"). This will load the data into a variable called flower. If R says the flower data set is not found, you can try installing the package by issuing this command install.packages("cluster") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the flower R data set. The size of this file is about 596 bytes.

Flower Characteristics


8 characteristics for 18 popular flowers.




A data frame with 18 observations on 8 variables:

[ , "V1"] factor winters
[ , "V2"] factor shadow
[ , "V3"] factor tubers
[ , "V4"] factor color
[ , "V5"] ordered soil
[ , "V6"] ordered preference
[ , "V7"] numeric height
[ , "V8"] numeric distance

winters, is binary and indicates whether the plant may be left in the garden when it freezes.


shadow, is binary and shows whether the plant needs to stand in the shadow.


tubers, is asymmetric binary and distinguishes between plants with tubers and plants that grow in any other way.


color, is nominal and specifies the flower's color (1 = white, 2 = yellow, 3 = pink, 4 = red, 5 = blue).


soil, is ordinal and indicates whether the plant grows in dry (1), normal (2), or wet (3) soil.


preference, is ordinal and gives someone's preference ranking going from 1 to 18.


height, is interval scaled, the plant's height in centimeters.


distance, is interval scaled, the distance in centimeters that should be left between the plants.


Struyf, Hubert and Rousseeuw (1996), see agnes.


## Example 2 in ref
daisy(flower, type = list(asymm = 3))
daisy(flower, type = list(asymm = c(1, 3), ordratio = 7))

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-34084.csv 596 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0