data_summary is used to to calculate the mean, standard deviation and 95

data_summary(data, varname, groupnames)

Arguments

data

Data frame.

varname

Name of a column containing the variable.

groupnames

Vector of column names to be used as grouping variables.

Value

A data frame containing the posterior output.