R/data-ipod.R

#' Length of songs on an iPod
#'
#' A simulated data set on lengths of songs on an iPod.
#'
#'
#' @name ipod
#' @docType data
#' @format A data frame with 3000 observations on the following variable.
#' \describe{
#'   \item{song_length}{Length of song (in minutes).}
#'   }
#' @source Simulated data.
#' @keywords datasets music
#' @examples
#'
#' library(ggplot2)
#'
#' ggplot(ipod, aes(x = song_length)) +
#'   geom_histogram(binwidth = 0.5)
"ipod"

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.