evolution: 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
5
6
7
evolution(x, y, thresholds = 10 * (8:1), postprocessing = list(post =
  TRUE, adjacent = 2), col = "GrayLevel", ask = TRUE)

## S4 method for signature 'stab.blockSeg'
evolution(x, y, thresholds = 10 * (8:1),
  postprocessing = list(post = TRUE, adjacent = 2), col = "GrayLevel",
  ask = TRUE)

Arguments

x

an object of class stab.blockSeg.

y

the observations data (or a transformation).

thresholds

the thresholds used (percent the maximum value). By default, thresholds = 10 * (8:1).

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).

ask

If TRUE, to hit will be necessary to see next plot.

...

used for S4 compatibility.

See Also

stab.blockSeg.

Examples

1
2
3
4
5
6
7
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)
evolution(stab.out,Y)

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