getLoessCriticalValue: getLoessCriticalValue

Description Usage Arguments Value Examples

View source: R/DCARS.R

Description

the getLoessCriticalValue function

Usage

1
getLoessCriticalValue(stats, pvals, signifValue = 0.05, plot = FALSE)

Arguments

stats

a vector of DCARS test statistics for which permutation testing has been done

pvals

a vector of pvals for DCARS test

signifValue

significance value (default 0.05)

plot

logical (default FALSE)

Value

numeric a critical value for the unadjusted significance value

Examples

1
2
3
4
stats = rchisq(100,1)
pvals = 1 - pchisq(stats,1)
criticalValue = getLoessCriticalValue(stats, pvals, plot = TRUE)
criticalValue

shazanfar/DCARS documentation built on Oct. 14, 2020, 11:11 a.m.