Permutation test of assication
Calculate the p-value for the test of association between two variables using the permutation method.
betatest(x, y)
x
: First vector to be associated.y
: First vector to be associated.p-value
#Example using data from plant Qn1 from the CO2 data set.^M betatest(CO2[CO2$Plant=="Qn1",4],CO2[CO2$Plant=="Qn1",5])
Useful links