Thank you for your insights, to give a little more background on what i am looking for: -I am trying to handle large sets of data (between 20 000 to 50 000) entries, but the number of distinct values is very low (maybe 20 - 30, 50 in extreme cases). Hence handling of data should be as automated as possible. -The main objective of this is to obtain the afore mentioned transition matrix in a usable form. -The matrix will be updated later also. Regards, Stivi
-- View this message in context: http://r.789695.n4.nabble.com/Updating-a-Markov-Chain-tp4504156p4507049.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.