The msleep Dataset


You can get more information on this msleep dataset at github. It is part of the ggplot2 package, which is part of the tidyverse set of R packages. tidyverse is an R language package that is actually a set of many smaller packages.

msleep is a dataset of the sleeping habits of mammals. An omnivore is an animal or person that eats food of both plant and animal origin. A herbivore is an animal that feeds on plants. A carnivore is an animal that feeds on flesh. An insectivore is an insect-eating plant or animal.

  • name – common name
  • genus – taxonomic rank
  • vore – carnivore, omnivore or herbivore?
  • order – taxonomic rank
  • conservation – the conservation status of the mammal
  • sleep_total – total amount of sleep, in hours
  • sleep_rem – rem sleep, in hours
  • sleep_cycle – length of sleep cycle, in hours
  • awake – amount of time spent awake, in hours
  • brainwt – brain weight in kilograms
  • bodywt – body weight in kilograms

Leave a Reply