Getting generated quantities variable in original dimensions

This thread also has a discussion of how to extract variables in the correct dimensions using the posterior package (which is what the $draws() method uses): Posterior draws objects => recover original array data structure?

1 Like