plotR2Equiv: Plotting Equivalent R2s across a range of degrees of freedom.

Description Usage Arguments Value Author(s) Examples

View source: R/Percentile_Analysis_Functions_v2.R

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

1
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

1
2
	plt <- plotR2Equiv(R2=0.83, dof=10, pct=0.99)
	plt <- plotR2Equiv(0.7,5)

pAnalysis documentation built on May 2, 2019, 9:17 a.m.