plotR2Equiv {pAnalysis} | R Documentation |
Plotting Equivalent R2s across a range of degrees of freedom.
Description
For given values of R2, degrees of freedom (dof) and a percentile noise level(pct), this will plot the noise baseline (R2p) and equivalent R2 based on R2K.
Usage
plotR2Equiv(R2, dof, pct = 0.95, order = 4, plot_pctr2 = F, ...)
Arguments
R2 |
a number between 0 and 1 |
dof |
an integer number >= 3 |
pct |
percentile of allowable noise expressed as a number between 0 and 1. Default is 0.95. |
order |
order of magnitude of the number of samples |
plot_pctr2 |
adds the plot of R2p equal to R2 |
... |
other arguments used in calls to pcdfs() |
Value
The output of plotR2Equiv() is a ggplot object
Author(s)
Joseph G. Kreke, PhD
Examples
plt <- plotR2Equiv(R2=0.83, dof=10, pct=0.99)
plt <- plotR2Equiv(0.7,5)
[Package pAnalysis version 2.0 Index]