aitoa.compare.vectors.statistically: Perform a Statistical Test Comparing Two Vectors

Description Usage Arguments Value

View source: R/compare_vectors_statistically.R

Description

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.

Usage

1

Arguments

x

the first vector

y

the second vector

alpha

the significance threshols

Value

the result, a list of values

p

the p-value computed by the test

r

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


thomasWeise/aitoaEvaluate documentation built on Dec. 6, 2020, 1:22 p.m.