Description Usage Arguments Value Examples

View source: R/CtsHypothesisTests.R

Make graph highlighting events more extreme than observed sample

1 2 3 4 5 6 7 8 9 10 11 | ```
showXtremeEventsCts(
testID,
testStat,
densFun,
degFree = NULL,
degFree1 = NULL,
degFree2 = NULL,
xlims,
verbose = 1,
...
)
``` |

`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 |

results of call testFun

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.