predictHommc | R Documentation |
This function provides a prediction of states for a higher order multivariate markovchain object
predictHommc(hommc,t,init)
hommc |
a hommc-class object |
t |
no of iterations to predict |
init |
matrix of previous states size of which depends on hommc |
The user is required to provide a matrix of giving n previous coressponding every categorical sequence. Dimensions of the init are s X n, where s is number of categorical sequences and n is order of the homc.
The function returns a matrix of size s X t displaying t predicted states in each row coressponding to every categorical sequence.
Vandit Jain
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.