plot.stab.blockSeg: Plot method for a 'stab.blockSeg' object

Description Usage Arguments See Also Examples

Description

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

Usage

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

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

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

shiny

for a representation with a shiny application. By default shiny=FALSE

...

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)

jchiquet/blockseg documentation built on Aug. 30, 2019, 9:18 a.m.