R/marketing.R

#'Marketing Data Set
#'
#'@description A data frame containing the impact of three advertising medias (youtube, facebook and
#'  newspaper) on sales. Data are the advertising budget in thousands
#'  of dollars along with the sales. The advertising experiment has been repeated 200 times.
#'@name marketing
#'@docType data
#'@usage data("marketing")
#'@format A data frame with 200 rows and 4 columns.
#' @examples
#' data(marketing)
#' res.lm <- lm(sales ~ youtube*facebook, data = marketing)
#' summary(res.lm)
#'
NULL

Try the datarium package in your browser

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

datarium documentation built on May 21, 2019, 9:02 a.m.