Oh dear! Yes I see now that when I update j to i then this won't work... but I'm now stuck trying to think of a way round this.
I've tried moving all script to before the i<- j command and leaving it out all together but neither work. Any ideas? -- View this message in context: http://www.nabble.com/Four-concurrent-Markov-chains-tp25530321p25530352.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.