perm: Permutation Test

Description Usage Arguments Examples

View source: R/perm.R

Description

Provides nonparametric statistical significance via sample randomization.

Usage

1
perm(x, y, func, reps)

Arguments

x, y

numeric vectors of data values

func

specify mlf function: (distcorr or mic).

reps

(optional) number of resamples. Defaults to 500.

Examples

1
2
3
4
5
6
# Sample data
a <- rnorm(25, 80, 35)
b <- rnorm(25, 100, 50)

mlf::mic(a, b)
mlf::perm(a, b, mic)

mlf documentation built on May 1, 2019, 10:34 p.m.

Related to perm in mlf...