expected_roi | R Documentation |
This function calculates the expected return on investment (ROI) for a given bet.
expected_roi(payout, risk, win_prob)
payout |
The dollar amount won if the bet pays out (500) |
risk |
The dollar amount risked (550) |
win_prob |
The probability that the bet wins (0.54) |
Expected Return on Investment
expected_roi(100, 110, 0.55)
expected_roi(175, 100, 0.35)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.