Learn R Programming

MultNonParam (version 1.3.9)

mannwhitney.test: Perform the Mann Whitney two-sample test

Description

Perform the Mann Whitney two-sample test

Usage

mannwhitney.test(x, y, alternative = c("two.sided", "less", "greater"))

Value

Test results of class htest

Arguments

x

A vector of values from the first sample.

y

A vector of values from the first sample.

alternative

Specification of alternative hypothesis.

Examples

Run this code
mannwhitney.test(rnorm(10),rnorm(10)+.5)

Run the code above in your browser using DataLab