Learn R Programming

pAnalysis (version 2.0)

R2p: Calculation of baseline noise level (R2p) at a single value of degrees of freedom (dof)

Description

This function determines the value of R2, called R2p here, below which a certain percentile level of noise is present. Any models with R2 values below this baseline R2 value are therefore indistingushable from noise.

Usage

R2p(dof, pct = 0.95, ndecimals = 3,...)

Arguments

dof
degrees of freedom; an integer
pct
percentile of allowable noise expressed as a number between 0 and 1. Default is 0.95.
ndecimals
the number of decimal places in the result
...
other arguments used by pcdfs()

Value

Examples

Run this code
	pct <- 0.95
	dof <- 10
 	r2p <- R2p(dof, pct)

Run the code above in your browser using DataLab