Closed potash closed 1 year ago
Simply spread_draws(fit, b[i,j]) works. I was backticking b[i,j]
and that was breaking it with:
No variables found matching spec: b\[i\,j\]
Is that a bug?
Yeah b[i, j]
should work, and if you want the i
as columns b[i, j] | i
would do that.
Using backticks like `b[i,j]`
doesn't work because that means you are asking for a variable named "b[i,j]"
exactly.
Ah that explains it, thanks
great, happy to help!
I am having trouble applying
spread_draws()
to a varying intercept varying slope model fit with the following formula andstan_glmer()
Calling get_variables() returns something like this:
Is this naming convention compatible with spread_draws()? I'd like to extract a dataframe that looks like this: