Description Usage Arguments Value
View source: R/compare_vectors_statistically.R
Compare two vectors of samples using a statistical test (the two.sided wilcox.test, i.e., the Mann-Whitney U test). This function suppresses warnings that emerge from ties and repeated values. It is not reliable for productive use, but for the context of our book, it will suffice for now.
1 | aitoa.compare.vectors.statistically(x, y, alpha)
|
x |
the first vector |
y |
the second vector |
alpha |
the significance threshols |
the result, a list of values
the p-value computed by the test
a character, either
if x
is
significantly smaller than y
if x
is significantly
larger than y
if the difference between x
and
y
, if any, is not significant
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.