ragged2char: Convert a ragged list into a matrix of characters
Description
The function transforms a ragged list into a matrix of characters. It
is used in mixAR for output visualisation purposes.
Usage
ragged2char(raglist, filler = NA_character_)
Value
a character matrix
Arguments
raglist
A ragged list (from raggedCoef).
filler
The character filling order mismatches.
Author
Georgi N. Boshnakov
Details
ragged2char converts a ragged list into a character matrix with
as many columns as the longest component of the list, filling the
missing entries with the values of argument filler. The latter
defaults to NA.
In MixAR context the i-th row represents the AR coefficients
for the i-th component.