test_dependent_R2: Test for the dependence of two R2

Description Usage Arguments Details Value

Description

Tests for the dependence of two R2.

Usage

1
test_dependent_R2(v1, v2, v3, n = length(v1))

Arguments

v1, v2, v3

three numeric vectors of same length n, or three coefficients of determination. If inputs are three coefficients of determination, length of vector n must be specified.

n

the length of vectors. n must be specified if the inputs are three coefficients of determination.

Details

Be careful, the three vectors are not symmetrical. The function compare R2 obtained by the models v1 ~ v3 and v2 ~ v3.

Value

Return a p-value.


BenitoJaillard/combinAna documentation built on May 9, 2019, 2:17 a.m.