plot.som.cluster: plot a som.cluster object

Description Usage Arguments Note Author(s) See Also Examples

Description

plot a som.cluster object

Usage

1
plot.som.cluster( object )

Arguments

object

a som object

Note

Values are not scaled before plotting. Be sure that all data have the same range because, if not, graphics won't allow to see correctly everything.

Author(s)

David Gohel

See Also

~~objects to See Also as help, ~~~

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(MASS)
lcrabs <- log(crabs[, 4:8])

lcrabs.som <- som ( formula = ~ . , data = lcrabs
	, neighborhood = "uniform"
	, grid = grid ( xdim = 10 , ydim = 10 , type = "hexagonal" ) 
	, weights.min = min (lcrabs), weights.max = max (lcrabs)
	)
lcrabs.som <- learn( lcrabs.som , number.iter = 500 , max.alpha = 0.5, min.alpha = .001, max.rayon = 3 , step.eval.si = 50)

plot ( get.cluster( lcrabs.som , 6 ) )

harrysouthworth/kohonen documentation built on May 17, 2019, 3:03 p.m.