Calculates PCCs and c-values based on pairwise comparison of conditions.
compare_conditions(result, nreps = 1000L)
compare_conditions
returns a list with the following elements
A lower triangle matrix containing PCCs calculated from each pairing of data columns.
A lower triangle matrix containing c-values calculated from each pairing of data columns.
A vector containing PCCs calculated from each pairing of data.
A vector containing c-values calculated from each pairing of data.
The number of permutations used to calculate the c-values.
an object of class "opafit" produced by a call to opa().
an integer
dat <- data.frame(t1 = c(9, 4, 8, 10),
t2 = c(8, 8, 12, 10),
t3 = c(8, 5, 10, 11),
t4 = c(10, 5, 11, 12))
h <- hypothesis(1:4)
opamod <- opa(dat, h)
compare_conditions(opamod)
Run the code above in your browser using DataLab