Hi,  I'm a student in China, and I never used R before.  I'm now wondering how to simulate a sample of Markov chain of ,say 500 entries with a certain transition matrix.  Thanks a lot.
___________________________________________________________ 好ç©è´ºå¡çä½ åï¼é®ç®±è´ºå¡å ¨æ°ä¸çº¿ï¼ http://card.mail.cn.yahoo.com/ [[alternative HTML version deleted]]
______________________________________________ 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.