Learn R Programming

datarium (version 0.1.0)

marketing: 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.

Usage

data("marketing")

Arguments

Format

A data frame with 200 rows and 4 columns.

Examples

Run this code
# NOT RUN {
data(marketing)
res.lm <- lm(sales ~ youtube*facebook, data = marketing)
summary(res.lm)

# }

Run the code above in your browser using DataLab