R/dwaine.R

#' @name dwaine
#' @title Dwaine Studios data
#' @description Data from the Dwaine Studios data in Applied
#'   Linear Statistical Models, 5th edition, p. 237. From
#'   the book:
#'
#'   Dwaine Studios, Inc., operates portrait studios in 21
#'   cities of medium size. These studios specialize in
#'   portraits of children. The company is considering an
#'   expansion into other cities of medium size and wishes
#'   to investigates where sales (\code{sales}) in a
#'   community can be predicted from the number of persons
#'   aged 16 or younger in the community (\code{targetpop})
#'   and the per capita disposable personal income in the
#'   community (\code{dpi}). Data on these variables for the
#'   most recent year for the 21 cities in which Dwaine
#'   Studios is now operating are included in the data set.
#' @docType data
#' @author Joshua P. French
#' @usage data(dwaine)
#' @format A data frame with 21 observations and 3 variables:
#' \describe{
#'  \item{\code{targetpop}}{The number of persons aged 16 or younger in thousands of persons.}
#'  \item{\code{dpi}}{Per capita disposable personal income in thousands of dollars.}
#'  \item{\code{sales}}{Sales in thousands of dollars}
#' }
#' @references Kutner, M. H., Nachtsheim, C. J., Neter, J.,
#' & Li, W. (2004). Applied Linear Statistical Models, 5th
#' edition. New York: McGraw-Hill/Irwin.
#' @keywords data
NULL

Try the api2lm package in your browser

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

api2lm documentation built on July 9, 2023, 5:52 p.m.