distributionTest {PhyloProfile} | R Documentation

## Compare the distribution of 2 numeric vectors

### 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

    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)

[Package PhyloProfile version 1.4.11 Index]