plot.cpStat: Plot method for change point statistics

View source: R/cpStat-methods.R

plot.cpStatR 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 par).

crit.val

critical value of the test. Default: 1.358.

...

other graphical parameters (see par).

Details

  • Default for ylim is c(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.

Author(s)

Sheila Görz

See Also

plot, par, CUSUM, HodgesLehmann, wilcox_stat


robcp documentation built on Sept. 16, 2022, 5:05 p.m.

Related to plot.cpStat in robcp...