Plot method for a stab.blockSeg object

Description

Produce a plot of two-dimensional segmentation of a stab.blockSeg fit.

Usage

1
2
3
## S4 method for signature 'stab.blockSeg'
plot(x, y, threshold = 40,
  postprocessing = list(post = TRUE, adjacent = 2), col = "GrayLevel", ...)

Arguments

x

an object of class stab.blockSeg.

y

the observations data (or a transformation).

threshold

the threshold used (percent the maximum value).

postprocessing

the condition if plot used a post-processing (if $post=TRUE) or not. If there is a post-processing, post-processing$adjacent is the maximal distance between two points.

col

colours of the graphics. By default, it is "GrayLevel" to black and white colours. If it is another "character", it is a level blue or red. Else, it is possible to propose a sequence with the colour (rgb format).

...

used for S4 compatibility.

See Also

stab.blockSeg.

stab.blockSeg.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
n <- 100
## model parameters 
K <- 5
mu <- suppressWarnings(matrix(rep(c(1,0),ceiling(K**2/2)), K,K))
Y <- rblockdata(n,mu,sigma=.5)$Y
stab.out <- stab.blockSeg(Y, 100, 15)
plot(stab.out,Y)

## End(Not run)