Learn R Programming

popsom (version 4.3.1)

map.starburst: Generate Starburst For Map

Description

Computes and displays the starburst representation of clusters on a map.

Usage

map.starburst(map, explicit = FALSE, smoothing = 2, merge.clusters=FALSE, merge.range=.25)

Arguments

map

an object of type 'map'.

explicit

controls the shape of the connected components.

smoothing

controls the smoothing level of the map display (NULL, 0, >0).

merge.clusters

is a switch that controls if the starburst clusters are merged together

merge.range

is a range that is used as a percentage of a certain distance in the code to determine whether components are closer to their centroids or centroids closer to each other.

References

"Improved Interpretability of the Unified Distance Matrix with Connected Components," Lutz Hamel and Chris W. Brown. Proceeding of the 7th International Conference on Data Mining (DMIN'11), July 18-21, 2011, Las Vegas Nevada, USA, ISBN: 1-60132-168-6, pp338-343, CSREA Press, 2011.

Examples

Run this code
# NOT RUN {
data(iris)

## set data frame and labels
df <- subset(iris,select=-Species)
labels <- subset(iris,select=Species)

## build a map
m <- map.build(df, labels, xdim=15, ydim=10, train=1000)

## display the starburst for the map
map.starburst(m)
# }

Run the code above in your browser using DataLab