distributionTest: Compare the distribution of 2 numeric vectors

Description Usage Arguments Value Author(s)

View source: R/compareTaxaGroups.R

Description

This function tests the difference between the distributions of two input numeric samples using the statistical tess. First the Kolmogorov-Smirnov is used to check if 2 samples have the same distribution. If yes, Wilcoxon-Mann-Whitney will be used to compare the distribution difference.

Usage

1
distributionTest(varIn, varOut, significanceLevel)

Arguments

varIn

first numeric vector

varOut

second numeric vector

significanceLevel

significant cutoff of the Kolmogorov-Smirnov test. Default = 0.05.

Value

p-value of the comparison test.

Author(s)

Carla Mölbert (carla.moelbert@gmx.de)


PhyloProfile documentation built on March 27, 2021, 6:01 p.m.