Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In [7]: # Group by campaign id and calculate overall average CPM data_KAG %>% group_by (campaign_id) %>% summarise(campaign_CPM = sum (Spent) /sum(Impress `summarise ()* ungrouping

image text in transcribed
image text in transcribed
In [7]: # Group by campaign id and calculate overall average CPM data_KAG %>% group_by (campaign_id) %>% summarise(campaign_CPM = sum (Spent) /sum(Impress `summarise ()* ungrouping output (override with * groups* argument) campaign id campaign_CPM A tibble: 3 OE 2936 0.3559674 916 0.3100067 1178 0.2717564 2.3 Answer - Q1b The campaign averagely spent the least efficiently on brand awareness(most CPM) cam- paign_id = 936 which has averagely 0.356 CPM 2.3.1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Cases In Human Resource Management In Hospitality

Authors: Shirley Gilmore

1st Edition

0131119834, 9780131119833

More Books

Students also viewed these General Management questions

Question

Personal role: This consists of service to family and friends.

Answered: 1 week ago