delta.mean: Calculate the difference in means between distributions.

Description Usage Arguments Value Examples

View source: R/vector_summary_stats.R

Description

Calculate the difference in means between distributions.

Usage

1
delta.mean(x, y)

Arguments

x

A categorical value (factor) with two levels.

y

A list of response values.

Value

The difference in means.

Examples

1
2
3
4
y <- c(rnorm(20,mean=10,sd=2),rnorm(20,mean=25,sd=6))
x <- factor(c(rep('A',20),rep('B',20)))

delta.mean(x,y)

ctkremer/priceTools documentation built on May 28, 2019, 7:49 p.m.