marketing | R Documentation |
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 (in thousands of units). The advertising experiment has been repeated 200 times. This is a simulated data.
data("marketing")
A data frame with 200 rows and 4 columns.
data(marketing)
res.lm <- lm(sales ~ youtube*facebook, data = marketing)
summary(res.lm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.