showXtremeEventsCts {mcStats}R Documentation

Highlight extreme events

Description

Make graph highlighting events more extreme than observed sample

Usage

showXtremeEventsCts(
  testID,
  testStat,
  densFun,
  degFree = NULL,
  degFree1 = NULL,
  degFree2 = NULL,
  xlims,
  verbose = 1,
  ...
)

Arguments

testID

name of hypothesis test

testStat

test statistic

densFun

function that computes appropriate density

degFree

degrees of freedom when only one is needed. This gets passed into densFun

degFree1

first degrees of freedom parameter when more than one is needed

degFree2

second degrees of freedom parameter when more than one is needed

xlims

x limits of the graph to be used. This is passed to ggplot

verbose

if verbose > 0 the resulting graph is printed

...

extra arguments passed to density function

Value

results of call testFun

Examples

x <- rnorm(100)
showT.Test(x, verbose = 0)
showT.Test(x)


[Package mcStats version 0.1.2 Index]