Plot an object from class rsm

Description

Produces plots describing results of an object from class rsm.

Usage

1
2
## S3 method for class 'rsm'
plot(x, frame=0, ...)

Arguments

x

An object of class rsm. Result of function rsm.

frame

An integer with possible values 0, 1, or 2, depending on the kind of graphics requested (see details).

...

Arguments to be passed to the function, such as graphical parameters.

Details

  • if frame=0 plot of the lower bound criterion versus the number of clusters and repartition of the found cluster in the different subgraphs.

  • if frame=1 plot of the lower bound criterion versus the number of clusters.

  • if frame=2 repartition of found clusters in the different subgraphs.

See Also

rsm, summary.rsm, RAMBO

Examples

1
2
3
4
5
data(Regions)
res <- rsm(Regions$X, Regions$sub, Klist=2:4, nbredo=1, maxit=5) 
##plot(res, frame=0)
## plot(res, frame=1)
 plot(res, frame=2)