perm.pairs {overlapping}R Documentation

Paired permutation

Description

Perform a random permutation of the data list.

Usage

perm.pairs( x )

Arguments

x

a list of numerical vectors to be compared (each vector is an element of the list).

Value

It returns a list with paired elements of x randomly permuted.

Note

Internal function called by perm.test.

Author(s)

Massimiliano Pastore

Examples

set.seed(20150605)
x <- list(X1=rnorm(10), X2=rt(15,8))
perm.pairs( x )

x <- list(X1=rnorm(10), X2=rt(15,8), X3=rchisq(12,3))
perm.pairs( x )


[Package overlapping version 2.2 Index]