plotR2k {pAnalysis} | R Documentation |
This function plots R2k values presuming that the same R2 value was obtained using varying numbers of degrees of freedom. Provide the R2 value of interest and the desired noise baseline level (pct).
plotR2k(R2, doflist = c(2:30), pct = 0.95, order = 4, ndecimals = 3, ...)
R2 |
a number between 0 and 1 |
doflist |
dof list - a vector of integers > 1 |
pct |
percentile of allowable noise expressed as a number between 0 and 1. Default is 0.95. |
ndecimals |
the number of desired decimal places in the result |
order |
order of magnitude of the number of samples |
... |
other arguments used by pcdfs() |
The output of this function is a ggplot object.
Joseph G. Kreke, PhD
plt = plotR2k(R2=0.77, pct=0.90)
plt = plotR2k(0.5)