AriGold wrote: > > Hi this is my first post. I am trying to run a simulation for a computer > playing Von Neumann poker and adjusting it's expectation of an opponent's > behavior according to how the opponent plays. > > ... >
Debugging length programs is not what this list is supposed to do, but the line (count && 20)<10 looks suspicious to me. Simply try what this expression does separately. count && 20 [1] TRUE Dieter -- View this message in context: http://r.789695.n4.nabble.com/Code-is-not-doing-anything-tp3691276p3691709.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.