Last data update: 2014.03.03

R: Plot R2k for a single measured R2 and a single noise...
plotR2kR Documentation

Plot R2k for a single measured R2 and a single noise percentile across a range of degrees of freedom

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

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

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

Results