plot.cpStat {robcp} | R Documentation |
Plot method for change point statistics
Description
Plots the trajectory of the test statistic process together with a red line indicating the critical value (alpha = 0.05) and a blue line indicating the most probable change point location
Usage
## S3 method for class 'cpStat'
plot(x, ylim, xaxt, crit.val, ...)
Arguments
x |
object of the class 'cpStat'. |
ylim |
the y limits of the plot. |
xaxt |
a character which specifies the x axis type (see |
crit.val |
critical value of the test. Default: 1.358. |
... |
other graphical parameters (see |
Details
Default for
ylim
isc(min(c(data, 1.358)), max(c(data, 1.358)))
.Default for
xaxt
is the simliar to the option"s"
, only that there is a red labelled tick at the most probable change point location. Ticks too close to this will be suppressed.
Value
No return value; called for side effects.
Author(s)
Sheila Görz
See Also
plot
, par
, CUSUM
, HodgesLehmann
,
wilcox_stat
[Package robcp version 0.3.9 Index]