make_summary: Summarize data

Description Usage Arguments Value Examples

View source: R/statistics.R

Description

Summarizes data using summary statistic of choice and returns a data frame sorted by group.

Usage

1
make_summary(df, groupvars, stats, width, measure, ...)

Arguments

df

Data Frame

groupvars

Name of the column(s) containing your bsfactor and wsfactor

stats

Summary Statistic to use, see documentation for a list.

width

Type of error bar ("SE" or "CI")

measure

The name of the column containing your dependent variable

Value

data.frame

Examples

1
make_summary(ToothGrowth, groupvars = c("supp", "dose"), stats = "mean", width = "CI", measure = "len")

felixchiasson/meanPlot documentation built on May 7, 2019, 7:16 p.m.