data_summary is used to to calculate the mean, standard deviation and
95
data_summary(data, varname, groupnames)
| data | Data frame. |
|---|---|
| varname | Name of a column containing the variable. |
| groupnames | Vector of column names to be used as grouping variables. |
A data frame containing the posterior output.