betatest {MultNonParam} | R Documentation |
Permutation test of assication
Description
Calculate the p-value for the test of association between two variables using the permutation method.
Usage
betatest(x, y)
Arguments
x |
First vector to be associated. |
y |
First vector to be associated. |
Value
p-value
Examples
#Example using data from plant Qn1 from the CO2 data set.^M
betatest(CO2[CO2$Plant=="Qn1",4],CO2[CO2$Plant=="Qn1",5])
[Package MultNonParam version 1.3.9 Index]