combo.wilcox: Wilcoxon tests through many factors

Description Usage Arguments Value

Description

Calculate the wilcoxon test between several factors

Usage

1
2
combo.wilcox(df, response, factor, p.v.correct = FALSE,
  single.factor.comp = FALSE)

Arguments

df

data frame passed containing value vector and factors

response

positive integer index or character name of a column response vector

p.v.correct

Logical assignment. Default set to FALSE. Will return logical vector along with test results. TRUE indicates P.value is less than adjusted P.value, FALSE indicates P.value is greated than adjusted P.value. Adjusted P.value is calculated using the bonferroni correction.

single.factor.comp

logical assignment. Default set to FALSE. Set to TRUE when you user wants compare between two levels of the same factor while all other factors are held constant. When set to TRUE, factor vector must be at least length 2.

factor.colmn

vector of positive integer(s) index(es) or character name of column(s) that describes the index of the factors to be used. Number of factors passed changes the comparison. One factor vector passed will return wilcox test values between levels. Multiple factor vectors passed will return wilcon test values between all combination of interactions of factors.

Value

dataframe of wilcoxn test P.value results


jtlandis/justinmisc documentation built on May 25, 2019, 8:18 a.m.