Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
3. Exercise 1


Great! Let's start with the first exercise.


Create a subset of the data frame named travel_campaign; name it clients_campaign. This data frame should contain all clients that were contacted as part of the company's campaign. Use the contacted column, which is populated with a 1 if the company reached out to a particular client and 0 otherwise.

Stuck? Here's a hint!


clients_campaign <- travel_campaign[travel_campaign$contacted == 1,]