Imagine that you are the accounting manager of a casino and you want to understand the winning
Fantastic news! We've Found the answer you've been seeking!
Question:
Imagine that you are the accounting manager of a casino and you want to understand the winning trends in poker.
1. Define the following vectors using the c() function poker_vector:
- On Monday you won $140.
- On Tuesday you lost $50.
- On Wednesday you won $20.
- On Thursday you lost $120.
- On Friday you won $240.
2.Find the total poker value using sum() function and store them in variable Poker.
3.Calculate the average earnings of poker for the first 3 days and store it in a variable Poker_3.
Write the R code below.
Related Book For
Understanding Financial Accounting
ISBN: 978-1118849385
1st Canadian Edition
Authors: Christopher Burnley, Robert Hoskin, Maureen Fizzell, Donald
Posted Date: