Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


mcStats (version 0.1.0)

shadePDFCts: Used to shade in a PDF

Description

Returns density with extreme event region having NAs

Usage

shadePDFCts(x, fun, testStat, ...)

Arguments

x

x value

fun

density function to use

testStat

test statistic value

...

optional parameters passed to density function

Value

density if outside of extreme event region

Examples

Run this code
# NOT RUN {
shadePDFCts(x = 1:5, dnorm, 1.96)

# }

Run the code above in your browser using DataLab