R/data.R

#' @title mtcars dataset
#'
#' @description The data was extracted from the 1974 Motor Trend US magazine, and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles (1973–74 models).
#'
#' @format A data frame with 32 observations on 11 (numeric) variables.
#' \describe{
#' \item{mpg}{Miles/(US) gallon}
#' \item{cyl}{Number of cylinders}
#' \item{disp}{Displacement (cu.in.)}
#' \item{hp}{Gross horsepower}
#' \item{drat}{Rear axle ratio}
#' \item{wt}{Weight (1000 lbs)}
#' \item{qsec}{1/4 mile time}
#' \item{vs}{Engine (0 = V-shaped, 1 = straight)}
#' \item{am}{Transmission (0 = automatic, 1 = manual)}
#' \item{gear}{Number of forward gears}
#' #'\item{carb}{Number of carburetors}
#' }
#'
#' @note Henderson and Velleman (1981) comment in a footnote to Table 1: ‘Hocking \[original transcriber\]'s noncrucial coding of the Mazda's rotary engine as a straight six-cylinder engine and the Porsche's flat engine as a V engine, as well as the inclusion of the diesel Mercedes 240D, have been retained to enable direct comparisons to be made with previous analyses.’
#' @source Henderson and Velleman (1981), Building multiple regression models interactively. Biometrics, 37, 391–411.
#'
#' @examples
#' summary(mtcars)
#'
"mtcars"
Sta523-Fa21/fizzbuzz documentation built on Dec. 18, 2021, 2:08 p.m.