1. 学ぶ
  2. /
  3. コース
  4. /
  5. Introduction to R

Connected

演習

Advanced selection

Just like you did for poker, you also want to know those days where you realized a positive return for roulette.

指示

100 XP
  • Create the variable selection_vector, this time to see if you made profit with roulette for different days.
  • Assign the amounts that you made on the days that you ended positively for roulette to the variable roulette_winning_days. This vector thus contains the positive winnings of roulette_vector.