Learn R Programming

esvis (version 0.2.0)

qtile_mean_diffs: Compute mean differences by various quantiles

Description

Compute mean differences by various quantiles

Usage

qtile_mean_diffs(formula, data, qtiles = seq(0, 1, 0.33))

Arguments

formula

A formula of the type out ~ group where out is the outcome variable and group is the grouping variable. Note the grouping variable must only include only two groups.

data

The data frame that the data in the formula come from.

qtiles

Quantile bins for calculating mean differences

Examples

Run this code
# NOT RUN {
qtile_mean_diffs(reading ~ condition, star)

qtile_mean_diffs(reading ~ condition, 
		star, 
		qtiles = seq(0, 1, .2))
# }

Run the code above in your browser using DataLab