Dear all,
I’m performing a multilevel analysis using brms. But, return an ERROR when I constructing the model using bf function:
n1 <- bf(e_50 ~ e_0 + (1 + e_50|Season + SurveyID), data = data) + zero_inflated_poisson('log')
Error: Expecting a single value when fixing parameter ‘data.SurveyID’.
Data example:
SurveyID | Season | e_50 | e_0 |
---|---|---|---|
1 | Winter 2006 | 4 | 5 |
2 | Winter 2006 | 0 | 1 |
3 | Spring 2006 | 2 | 0 |
4 | Spring 2006 | 0 | 2 |
5 | Spring 2006 | 0 | 6 |
- Operating System: Windows 10
- brms Version: 2.13.0