You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to highlight a bug that I've encountered in brms. Different variable names are generated for brms models as shown by the get_priors() function. Compare e.g. "stimulus.stateT.B" vs. "stimulus.stateB" in base R vs RMarkdown. This makes consistent prior name specification impossible.
Trying your example for "base R" in my R terminal produces output that matches what the RMarkdown block shows, so your bug cannot be reproduced. I don't see any reason for brms to be adding letters that don't exist in the variable name based on where it's running either.
RMarkdown has a cache setting that you can control in the options header and that is far more likely to be the source of any discrepancies between what you run on your terminal and your knitted output. In general, I would recommend deleting the cache folder, turning off that option and manually handling any caching needs you may have for long-running models and the such.
This looks to me as if there are different defaults for the contrasts at work here. I'd check the contrast setting for factors and ensure that these are consistent.
Hi everyone,
I'd like to highlight a bug that I've encountered in brms. Different variable names are generated for brms models as shown by the get_priors() function. Compare e.g. "stimulus.stateT.B" vs. "stimulus.stateB" in base R vs RMarkdown. This makes consistent prior name specification impossible.
2025-02-04-sample-data.csv
Example:
Base R:
Knitted RMarkdown:
Thanks for your time and effort!
Temperche
The text was updated successfully, but these errors were encountered: