predictHommc: Simulate a higher order multivariate markovchain

Description Usage Arguments Details Value Author(s)

View source: R/0_hommc.R

Description

This function provides a prediction of states for a higher order multivariate markovchain object

Usage

1

Arguments

hommc

a hommc-class object

t

no of iterations to predict

init

matrix of previous states size of which depends on hommc

Details

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.

Value

The function returns a matrix of size s X t displaying t predicted states in each row coressponding to every categorical sequence.

Author(s)

Vandit Jain


markovchain documentation built on Aug. 24, 2018, 1:03 a.m.