map.marginal: Plot Marginal Distribution

Description Usage Arguments Author(s) Examples

View source: R/map-utils.R

Description

Generate a plot that shows the marginal probability distribution of the neurons and data.

Usage

1
map.marginal(map,marginal)

Arguments

map

an object of type 'map'.

marginal

is the name of a training data frame dimension or index.

Author(s)

Lutz Hamel, Robert Tatoian

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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 marginal distribution of dimension 1
map.marginal(m,1)

lutzhamel/popsom2 documentation built on May 25, 2020, 12:46 a.m.