plotR2k: Plot R2k for a single measured R2 and a single noise...

Description Usage Arguments Value Author(s) Examples

View source: R/Percentile_Analysis_Functions_v2.R

Description

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).

Usage

1
plotR2k(R2, doflist = c(2:30), pct = 0.95, order = 4, ndecimals = 3, ...)

Arguments

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()

Value

The output of this function is a ggplot object.

Author(s)

Joseph G. Kreke, PhD

Examples

1
2
	plt = plotR2k(R2=0.77, pct=0.90)
	plt = plotR2k(0.5)

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