R/data.R

#' Sales of books
#'
#' A dataset containing 2,500 sales of 4 books in different states and countries.
#'
#' @format A data fram with 2500 rows and 7 variables:
#' \describe{
#'   \item{month}{month as number}
#'   \item{year}{year as number}
#'   \item{state}{abbreviation of the state as character}
#'   \item{country}{country as character}
#'   \item{product}{name of the product as character}
#'   \item{unit}{number of sold products}
#'   \item{amount}{amount of sales}
#' }
#' @source Synthetic dataset
"sales"

Try the hypercube package in your browser

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

hypercube documentation built on March 26, 2020, 7:52 p.m.