data.tree (version 1.0.0)

mushroom: Sample Data: Data Used by the ID3 Vignette

Description

mushroom contains attributes of mushrooms. We can use this data to predict a mushroom's toxicity based on its attributes. The attributes available in the data set are:

Usage

data(mushroom)

Arguments

Format

data.frame

Details

  • color the color of a mushroom

  • size whether a mushroom is small or large

  • points whether a mushroom has points

  • edibility whether a mushroom is edible or toxic