Convert a ragged list into a matrix of characters
ragged2char.Rd
The function transforms a ragged list into a matrix of characters. It is used in mixAR for output visualisation purposes.
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.