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"
OpenIntroStat/openintro-r-package documentation built on Nov. 19, 2023, 4:58 p.m.