Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
The lapply() function
Other apply() functions
The split-apply-combine pattern
24. Exercise 1


Great! Let's try the first exercise.


The prize_pool_list contains three members, representing the cash prize for first place (winner), second place (runner-up), and third and fourth place (semi-finalists), respectively. Calculate the total sum awarded to each of these categories of participants.

Stuck? Here's a hint!

You just need to apply sum on each of the members. Type:

lapply(prize_pool_list, sum)