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

The name of a training data 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=10000)

## display marginal distribution of dimension 1
map.marginal(m,1)

popsom documentation built on Dec. 21, 2021, 1:07 a.m.

Related to map.marginal in popsom...