plot.rema: Plots the distribution of the test statistic results from a...

Description Usage Arguments Details Value

View source: R/rema_generics.R

Description

Plots the distribution of the test statistic results from a rema object with the probabilities on the y-axis and the test statistics on the x-axis.

Usage

1
2
## S3 method for class 'rema'
plot(x, ...)

Arguments

x

a rema object holding distribution results from the rema function

...

other arguments that can be specified in plot

Details

The observed value of the test statistic is marked with an asterisk. The dark gray bars mark the probabilities that contribute to the two-sided p-value. The light gray bars highlight probabilities that are greater than the probability of the observed test statistic and consequently do not contribute to the two-sided p-value. If dist is set to FALSE in the rema object, the plot function will return an error.

Value

A barplot of the distribution of the test statistic.


rema documentation built on Oct. 29, 2021, 1:07 a.m.