I have a response variable X with values 0 and 1. I can use it as an integer or as a factor in regression.
I use brms package for modelling. The families of brms are: https://rdrr.io/cran/brms/man/brmsfamily.html
How should I model the X variable? Using binomial or bernoulli family? Both are logistic regressions?