showXtremeEventsCts: Highlight extreme events

Description Usage Arguments Value Examples

View source: R/CtsHypothesisTests.R

Description

Make graph highlighting events more extreme than observed sample

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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

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

mcStats documentation built on March 26, 2020, 7:37 p.m.