Permutation_Test: Compute the permutation test of correlation

Description Usage Arguments Examples

View source: R/Permutation_Test.R

Description

Compute the permutation test of correlation

Usage

1
Permutation_Test(p, q, size = 1000)

Arguments

p, q

two data sets

size

size = 1000, size of the permutation

Examples

1
2
3
p <- c(5.0, 4.8, 4.7, 4.0, 5.3, 4.1, 5.5, 4.7, 3.3, 4.0, 4.0, 4.6, 5.3, 3.0, 3.5, 3.9, 4.7, 5.0, 5.2, 4.6)
q <- c(60, 59, 58, 47, 65, 48, 67, 70, 55, 63, 62, 65, 71, 56, 59, 60, 74, 77, 78, 62)
Permutation_Test(p, q)

likanzhan/acqr documentation built on Dec. 2, 2020, 10:14 a.m.