Returns the canonical retained posterior draws.
Examples
set.seed(1)
model <- fit(
choice ~ x | 0, dgp_parameters = list(beta = c(x = 1)), chains = 1
)
posterior::as_draws(model)
#> # A draws_array: 500 iterations, 1 chains, and 2 variables
#> , , variable = beta[x]
#>
#> chain
#> iteration 1
#> 1 1.7
#> 2 1.6
#> 3 1.6
#> 4 1.6
#> 5 1.7
#>
#> , , variable = Sigma[B,B]
#>
#> chain
#> iteration 1
#> 1 1
#> 2 1
#> 3 1
#> 4 1
#> 5 1
#>
#> # ... with 495 more iterations
