Learn R Programming

openintro (version 2.4.0)

books: Sample of books on a shelf

Description

Simulated data set.

Usage

books

Arguments

Format

A data frame with 95 observations on the following 2 variables.

type

a factor with levels fiction and nonfiction

format

a factor with levels hardcover and paperback

Examples

Run this code

table(books)

Run the code above in your browser using DataLab