Learn R Programming

popsom (version 3.0.1)

map.umat: Generate Unified Distance Matrix For Map

Description

Computes and displays the unified distance matrix for the map.

Usage

map.umat(map)

Arguments

map
an object of type 'map'.

Examples

Run this code
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 umat for the map
map.umat(m)

Run the code above in your browser using DataLab