paired.permutations: Permutation for non-independent data
Description
Randomly permute the paired data.
Usage
paired.permutations( x )
Value
It returns a list with paired elements of x randomly permuted.
Arguments
x
a list of two numerical vectors to be compared (each vector is an element of the list).
Author
Massimiliano Pastore
Details
When the data are paired (i.e. non-independent
observations), the exchange takes place within each pair.
Note: if the data are paired, the elements in the list must be of the same
length and in the same order.