Learn R Programming

MPV (version 1.64)

p2.18: Data Set for Problem 2-18

Description

The p2.18 data frame has 21 observations on the advertising expenses (in millions of US dollars) and retain impressions (in millions per week) for various companies.

Usage

data(p2.18)

Arguments

Format

This data frame contains the following columns:

Firm

character vector

Amount.Spent

numeric vector

Returned.Impressions

numeric vector

Examples

Run this code
data(p2.18)
attach(p2.18)
plot(Returned.Impressions ~ Amount.Spent, pch=16)
detach(p2.18)

Run the code above in your browser using DataLab