I normally use
glmnet for variable selection tutorial here. The brms documentation says that there is a
lasso function, but I am struggling to get a working example. I get the error.
Error: Defining priors for single population-level parametersis not allowed when using horseshoe or lasso priors(except for the Intercept).
Could someone show a simple working example of variables selection using