## missing components are filled with 'filler', extended accordingly
mixAR:::.canonic_coef(list(order = c(2,3)), filler = NA)
# here 'scale' is replicated, the missing 'shift' is inserted
mo <- list(order = c(2,3), prob = c(0.4, 0.6), scale = 1,
arcoef = list(c(0.5, -0.5), c(1.1, 0.0, -0.5)) )
mixAR:::.canonic_coef(mo, filler = NA)
Run the code above in your browser using DataLab