plot.mBP {MultipleBreakpoints}R Documentation

Plotting the Results of the multiple_breakpoints function

Description

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

Usage

## 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

Nicolas Froelich (2021). Multiple Breakpoint Estimation for Structural Changes in Bernoulli Mixture Models with Application in Credit Risk. Ph.D. thesis, TU Dresden. https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa2-764622.

Examples

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

[Package MultipleBreakpoints version 0.1.0 Index]