betatest: Permutation test of assication

View source: R/betatest.R

betatestR 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])

MultNonParam documentation built on Aug. 30, 2023, 9:09 a.m.