plot.rema {rema} | R Documentation |
Plots the distribution of the test statistic results from a rema
object
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
## S3 method for class 'rema'
plot(x, ...)
Arguments
x |
a |
... |
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.
[Package rema version 0.0.1 Index]