Click RcodeGamblersRuin2021.R link to view the file.