dplot {Rsampling}R Documentation

Statistic distribution plot

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

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


[Package Rsampling version 0.1.1 Index]