plot.mBP: Plotting the Results of the multiple_breakpoints function

Description Usage Arguments Author(s) References Examples

View source: R/MultipleBreakpoints.R

Description

Plotting the empirical processes, the success probabilities and breakpoints estimated by the multiple_breakpoints function

Usage

1
2
## S3 method for class 'mBP'
plot(x, ask=TRUE, ...)

Arguments

x

The result of a call to multiple_breakpoints

ask

logical value. If TRUE (and the R session is interactive) the user is asked for input, before a new figure is drawn (see devAskNewPage).

...

Further arguments are currently ignored. Only for compatibility with generic functions.

Author(s)

Nicolas Froelich

References

\insertRef

froelichMultipleBreakpoints

Examples

1
2
3
4
mBP <- multiple_breakpoints(matrix(c(sort(rnorm(2000)),
                            rbinom(1000, 1, 0.2),
                            rbinom(1000, 1, 0.6)), ncol = 2))
plot(mBP)

MultipleBreakpoints documentation built on Nov. 16, 2021, 1:07 a.m.