Comparing total winnings in R | Calculation using vector | Question 4
Read This question first then come back, because this is linked to the previous question
Oops, it seems like you are losing money. Time to rethink and adapt your strategy! This will require some deeper analysis...
After a short brainstorm in your hotel's jacuzzi, you realize that a possible explanation might be that your skills in roulette are not as well developed as your skills in poker. So maybe your total gains in poker are higher (or > ) than in roulette.
Instruction
- Calculate
total_pokerandtotal_rouletteas in the previous exercise. Use thesum()function twice. - Check if your total gains in poker are higher than for roulette by using a comparison. Simply print out the result of this comparison. What do you conclude, should you focus on roulette or on poker?