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