R/data-books.R

#' Sample of books on a shelf
#'
#' Simulated data set.
#'
#'
#' @name books
#' @docType data
#' @format A data frame with 95 observations on the following 2 variables.
#' \describe{
#'   \item{type}{a factor with levels \code{fiction} and \code{nonfiction}}
#'   \item{format}{a factor with levels \code{hardcover} and \code{paperback}}
#'   }
#' @keywords datasets
#' @examples
#'
#' table(books)
"books"

Try the openintro package in your browser

Any scripts or data that you put into this service are public.

openintro documentation built on Sept. 1, 2022, 9:06 a.m.