R2k: Conversion of standard R2 to a noise/dof-independent value
Description
This function converts a vector of R2 values to a vector of noise-baselined, dof-independent and noise distribution-independent values. The resulting R2k values may vary from -inf to +1 where any negative value indicates it is indistinguishable from noise and should be discarded. Positive values indicate the R2k value is distinguishable from noise and allow direct comparison to other R2k values that may have been arrived at from models of different degrees of freedom.
Usage
R2k(R2, dof, pct=0.95, ndecimals=3,...)
Arguments
R2
a vector of real numbers between 0 and 1
dof
the number of degrees of freedom; an integer.
pct
percentile of allowable noise expressed as a number between 0 and 1. Default is 0.95.