taxa | R Documentation |
This data set contains seven morphological variables measured on 120 plants. These measurements can be used to cluster the plants in the attempt to detect which plants that belong to the same plant taxonomy.
taxa
A data frame with 120 observations (rows) and 7 variables (columns).
Column name | Data type | Description | Values | |
[,1] | Petals | numeric | Petal width in cm | (4.069 - 8.445) |
[,2] | Internode | numeric | Internode length | (25.10 - 30.98) |
[,3] | Sepal | numeric | Sepal length in cm | (2.001 - 4.985) |
[,4] | Bract | numeric | Bract length | (17.04 - 20.00) |
[,5] | Petiole | numeric | Petiole length in cm | (7.032 - 11.878) |
[,6] | Leaf | numeric | Leaf width in cm | (1.003 - 2.997) |
[,7] | Fruit | numeric | Fruit size in cm | (7.005 - 7.986) |
In The R book
, the data also contains the response variable Taxon.
The R book
, M.J. Crawley, Wiley, 2007.
# A short summary of the variables
summary(taxa)
# Hierarchical Clustering
clust2 <- hclust(dist(taxa), method = "average")
plot(clust2, xlab = "", sub = "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.