ragged2char | R Documentation |
The function transforms a ragged list into a matrix of characters. It is used in mixAR for output visualisation purposes.
ragged2char(raglist, filler = NA_character_)
raglist |
A ragged list (from |
filler |
The character filling order mismatches. |
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.
a character matrix
Georgi N. Boshnakov
raggedCoef
li1 <- list(1.5, c(1.51, 1.522), c(10.311, 1.31, 1.313))
ragged2char(li1)
ragged2char(li1, "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.