One-Dimensional Random Walks Through Simulation of the Gambler's Ruin Problem

Simulates a gambling game under the gambler's ruin setup, after asking for the money you have and the money you want to win, along with your win probability in each round of the game.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


4.0.5 by Somjit Roy, 8 months ago

Browse source code at

Authors: Somjit Roy

Documentation:   PDF Manual  

MIT + file LICENSE license

Depends on ggplot2, hrbrthemes, gganimate, viridis

See at CRAN