ez.stat.diff.test: Conduct statistical difference tests

Description Usage Arguments Examples

View source: R/ez.stat.diff.test.R

Description

Calculate two sample or pairwise comparisons with corrections.

Usage

1
2
3
ez.stat.diff.test(data, type = c("parametric", "non-parametric"),
  paired = FALSE, adjust.method = c("holm", "bonferroni", "BH"),
  plot = TRUE, group.name = "group", value.name = "value")

Arguments

data

response vector.

type

select test type whether parametric or non-parametric.

paired

a logical indicating whether you want a paired test.

adjust.method

method for adjusting p-values.

plot

a logical indicating whether you want a plot graph.

group.name

a name for the group (default: "group")

value.name

a name for the value (default: "value")

Examples

1
2
3
4
5
6
7
{
A <- c(1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2)
B <- c(3, 3, 4, 3, 1, 2, 3, 1, 1, 5, 4)
data <- data.frame(A,B)

ez.stat.diff.test(data, "parametric", paired=TRUE, adjust.method = "holm")
}

PutitStella/ezStatisticalDifferenceTest documentation built on May 4, 2019, 1:10 p.m.