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
Describe the bug
When trying to run a mediation analysis with a censored outcome variable in one of the models using brms (2.20.4) and bayestestR (0.13.1), I am getting the following error:
Error in .subset2(x, i, exact = exact) : subscript out of bounds
if we the model is run without censoring, the mediation() function works fine
Expected behaviour
I expected the mediation() function to handle the models with censored data
Specifiations (please complete the following information):
R Studio Version 2023.09.0+463
R version 4.3.1 (2023-06-16)
brms (2.20.4)
bayestestR (0.13.1)
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to run a mediation analysis with a censored outcome variable in one of the models using brms (2.20.4) and bayestestR (0.13.1), I am getting the following error:
To Reproduce
Expected behaviour
I expected the mediation() function to handle the models with censored data
Specifiations (please complete the following information):
R Studio Version 2023.09.0+463
R version 4.3.1 (2023-06-16)
brms (2.20.4)
bayestestR (0.13.1)
The text was updated successfully, but these errors were encountered: