R/data-books.R

#' Sample of books on a shelf
#'
#' Simulated dataset.
#'
#'
#' @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"
OpenIntroStat/openintro documentation built on June 4, 2024, 4:19 a.m.