dplot: Statistic distribution plot

Description Usage Arguments See Also

Description

Plots the distribution of the statistic of interest. Has switches to plot the extreme values and null hypothesis rejection region (also known as critical region).

Usage

1
2
dplot(dist, svalue, pside = c("Two sided", "Greater", "Lesser"),
  extreme = TRUE, vline = TRUE, rejection = TRUE, ...)

Arguments

dist

the statistic distribution, as generated by Rsampling (numeric vector)

svalue

the result of applying the statistic over the original data

pside

the alternative hypothesis for the hypothesis testing

extreme

logical. should extreme points be highlighted in the plot?

vline

logical. should the svalue be displayed as a vertical line?

rejection

logical. should the critical region be highlighted?

...

further arguments to be passed to hist function.

See Also

See the package vignettes for more information about how to interpret this graph


Rsampling documentation built on May 2, 2019, 2:09 a.m.