Utility for converting a vlmc state ID to the
corresponding context. Of rare interest to the average user.
Usage
id2ctxt(id, m=nchar(alpha), alpha=NULL)
Arguments
id
integer, a context ID such as optionally returned by
predict.vlmc.
m
integer, the alphabet length. Defaults to
nchar(alpha), the alphabet size if that is given.
alpha
alphabet string
Value
a list (if alpha is not specified) or character vector of the
same length as id, giving the
context (as integer vector or single string) of the corresponding id