summarise_brms_results.Rd
This function is used to extract the desired coefficients from a `brms` model.
summarise_brms_results(brms_model, coef, confidence = 0.9)
brms_model | a brms model object (class of "brmsfit") |
---|---|
coef | the coefficient of interest |
confidence | the desired confidence interval |
# NOT RUN { # To return a nice data frame with the 90% confidence intervals # From a brms model called my_model with the variable of interest # called "treated" summarise_brms_results(my_model, coef = "b_treated") # }