0

I use a markovchainFit function on my data and i get a list of matrices how can i export this list into csv or txt file?

sequence<-c('a','b','a','b','c','a') test<-markovchainFit(sequence)

I get an error:

Cannot coerce class "structure("markovchain", package = "markovchain")" to a data.frame

user3672160
  • 77
  • 1
  • 7
  • Please read the info about [how to ask a good question](http://stackoverflow.com/help/how-to-ask) and how to give a [reproducible example](http://stackoverflow.com/questions/5963269) . This will make it much easier for others to help you. – Jaap Apr 24 '17 at 05:57
  • If you cannot help please do not comment here. Thanks. – user3672160 Apr 24 '17 at 08:26

0 Answers0