eco.pairtest: Kruskall - Wallis + Wilcoxon (Mann-Whitney U) and aov +...

Description Usage Arguments Details Author(s) See Also Examples

Description

Kruskall - Wallis + Wilcoxon (Mann-Whitney U) and aov + Tukey-HSD tests for an ecogen object

Usage

1
2
3
4
5
6
7
8
9
eco.pairtest(
  eco,
  df = c("P", "E", "A", "C"),
  x,
  test = c("wilcoxon", "tukey"),
  adjust = "fdr",
  only.p = TRUE,
  ...
)

Arguments

eco

Object of class "ecogen".

df

The data frame for the analysis. Could be "P", "E" "A" or "C". For dominant data, "A" is here considered here a synonym of the G data frame.

x

The name of the S slot column with the groups for the analysis.

test

Test to perform ("wilcoxon", "tukey").

adjust

P-values correction method for multiple tests passed to p.adjust. Defalut is "fdr".

only.p

Should it be just a matrix with P-values returned? Default TRUE.

...

Additional arguments passed to wilcox.test or TukeyHSD.

Details

This program returns the Wilcoxon (Mann-Whitney U) or Tukey-HSD statistics and P-values for the multiple comparisons of the variables contained in the selected data frame, among the levels of a factor of the slot "S".

Author(s)

Leandro Roser learoser@gmail.com

See Also

wilcox.test TukeyHSD

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
data(eco3)
wil <- eco.pairtest(eco = eco3, df = "P", x = "structure")
wil
wil <- eco.pairtest(eco = eco3,df = "E", x = "structure")
wil
wil <- eco.pairtest(eco = eco3, df = "P", x = "structure", only.p = FALSE)
wil
wil <- eco.pairtest(eco = eco3,df = "P", x = "structure", test = "tukey")
wil

## End(Not run)

EcoGenetics documentation built on July 8, 2020, 5:46 p.m.