Draw matrix of a predictive distribution
draw_matrix.RdDraw matrix of a predictive distribution
Examples
pd <- predictive_distribution(matrix(1:6, ncol = 2), data.frame(year = c(2023, 2024)))
draw_matrix(pd)
#> [,1] [,2]
#> [1,] 1 4
#> [2,] 2 5
#> [3,] 3 6