GroupDifference: Pooled test

Description Usage Arguments Value Examples

Description

Pooled test

Usage

1

Arguments

x

is a data frame, can be normally distributed or not normally distributed. For 2 groups we will perform a two sample t-test or Wilcoxon rank sum test. For more than 2 groups we will perform ANOVA or Kruskal Wallis test.

Value

A list containing p values

Examples

1
2
3
4
set.seed(123)
p <- 100
data1 <- data.frame(group=sample(1:3,200,replace=TRUE),matrix(rnorm(p*200),ncol=p))
GroupDifference(data1)

tinahart97/ams597PROJ documentation built on May 8, 2019, 12:55 a.m.