var.test.2: Test the difference in variances between distributions.

Description Usage Arguments Value Examples

View source: R/vector_summary_stats.R

Description

Test the difference in variances between distributions.

Usage

1
2
## S3 method for class '2'
var.test(x, y)

Arguments

x

A categorical value (factor) with two levels

y

A list of response values

Value

A p-value coming from var.test()

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)))

var.test.2(x,y)

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