random_bet | R Documentation |
This function simulates a bet
random_bet(risk = 110, payout = 100, num_bets = 1, win_rate = 0.55)
risk |
The dollar amount risked to place the bet |
payout |
The dollar amount the bet pays out if it wins |
num_bets |
Number of bets to simulate |
win_rate |
The average expected win rate of the bets (0-1) |
The dollar amount won/lost from the bet
random_bet(
risk = 110,
payout = 100,
num_bets = 1,
win_rate = 0.55
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.