Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Zoo

Zoo Data Set


Description

A database containing characteristics of different animals. The database was created and donated by Richard S. Forsyth and is available from the UCI Machine Learning Repository (Newman et al, 1998).

Usage

data("Zoo")

Format

A data frame with 101 observations on the following 17 variables.

hair

{0, 1}

feathers

{0, 1}

eggs

{0, 1}

milk

{0, 1}

airborne

{0, 1}

aquatic

{0, 1}

predator

{0, 1}

toothed

{0, 1}

backbone

{0, 1}

breathes

{0, 1}

venomous

{0, 1}

fins

{0, 1}

legs

Numeric (set of values: {0, 2, 4, 5, 6, 8})

tail

{0, 1}

domestic

{0, 1}

catsize

{0, 1}

class

a factor with levels amphibian bird fish insect invertebrate mammal reptile

Source

D.J. Newman, S. Hettich, C.L. Blake and C.J. Merz (1998): UCI Repository of machine learning databases, https://www.ics.uci.edu/~mlearn/MLRepository.html, University of California, Irvine, Dept. of Information and Computer Sciences.

Examples

data("Zoo")
x <- scale(Zoo[, -17])


d <- dist(x)
pimage(d)

order <- seriate(d, method = "tsp")
pimage(d, order)

seriation

Infrastructure for Ordering Objects Using Seriation

v1.2-9
GPL-3
Authors
Michael Hahsler [aut, cre, cph], Christian Buchta [aut, cph], Kurt Hornik [aut, cph], Fionn Murtagh [ctb, cph], Michael Brusco [ctb, cph], Stephanie Stahl [ctb, cph], Hans-Friedrich Koehn [ctb, cph]
Initial release
2020-09-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.