Mushroom {cba} | R Documentation |
Mushroom Data Set
Description
A data set with descriptions of hypothetical samples corresponding to 23 species of gilled mushrooms in the Agaricus and Lepiota Family, classified according to their edibility as (definitely) ‘edible’ or ‘poisonous’ (definitely poisonous, or of unknown edibility and not recommended).
Usage
data("Mushroom")
Format
A data frame with 8124 observations on the following 23 variables.
class
a factor with levels
edible
andpoisonous
.cap-shape
a factor with levels
bell
,conical
,convex
,flat
,knobbed
,sunken
.cap-surface
a factor with levels
fibrous
,grooves
,scaly
,smooth
.cap-color
a factor with levels
brown
,buff
,cinnamon
,gray
,green
,pink
,purple
,red
,white
,yellow
.bruises?
a factor with levels
bruises
andno
.odor
a factor with levels
almond
,anise
,creosote
,fishy
,foul
,musty
,none
,pungent
,spicy
.gill-attachment
a factor with levels
attached
andfree
.gill-spacing
a factor with levels
close
andcrowded
.gill-size
a factor with levels
broad
andnarrow
.gill-color
a factor with levels
black
,brown
,buff
,chocolate
,gray
,green
,orange
,pink
,purple
,red
,white
, andyellow
.stalk-shape
a factor with levels
enlarging
andtapering
.stalk-root
a factor with levels
bulbous
,club
,equal
, androoted
.stalk-surface-above-ring
a factor with levels
fibrous
,scaly
,silky
, andsmooth
.stalk-surface-below-ring
a factor with levels
fibrous
,scaly
,silky
, andsmooth
.stalk-color-above-ring
a factor with levels
brown
,buff
,cinnamon
,gray
,orange
,pink
,red
,white
, andyellow
.stalk-color-below-ring
a factor with levels
brown
,buff
,cinnamon
,gray
,orange
,pink
,red
,white
, andyellow
.veil-type
a factor with levels
partial
.veil-color
a factor with levels
brown
,orange
,white
, andyellow
.ring-number
a factor with levels
one
,one
, andtwo
.ring-type
a factor with levels
evanescent
,flaring
,large
,none
, andpendant
.spore-print-color
a factor with levels
black
,brown
,buff
,chocolate
,green
,orange
,purple
,white
, andyellow
.population
a factor with levels
abundant
,clustered
,numerous
,scattered
,several
, andsolitary
.habitat
a factor with levels
grasses
,leaves
,meadows
,paths
,urban
,waste
, andwoods
.
Details
The records are drawn from G. H. Lincoff (1981) (Pres.), The Audubon Society Field Guide to North American Mushrooms. New York: Alfred A. Knopf. (See pages 500–525 for the Agaricus and Lepiota Family.)
The Guide clearly states that there is no simple rule for determining the edibility of a mushroom; no rule like “leaflets three, let it be” for Poisonous Oak and Ivy.
Unused levels in the original data were dropped.
The current version of the UC Irvine Machine Learning Repository Mushroom data set is available from doi:10.24432/C5959T
Blake, C.L. & Merz, C.J. (1998). UCI Repository of Machine Learning Databases. Irvine, CA: University of California, Department of Information and Computer Science. Formerly available from ‘http://www.ics.uci.edu/~mlearn/MLRepository.html’.
Examples
data("Mushroom")
summary(Mushroom)