Displaying 1 result from an estimated 1 matches for "tp4648576p4649177".
2012 Nov 06
4
Plot in function
Hello,
I am a R beginner and I have a question about a litte function I found.
Here is the code:
# Gambler's Ruin Problem.
# seed capital: k
# rounds: n
# probability of success: p
# number of trials: N
# graphical output (yes/no): draw
# Wait for new graphic (yes/no): ask
ruin<- function( N = 1, n = 10, k = 1, p = 1 /