map.marginal {popsom7} | R Documentation |
Plot Marginal Distribution
Description
Generate a plot that shows the marginal probability distribution of the neurons and data.
Usage
map.marginal(map,marginal)
Arguments
map |
An object of type 'map'. |
marginal |
The name of a training data dimension or index. |
Value
No return value, called for side effects.
Author(s)
Lutz Hamel, Robert Tatoian
Examples
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)
[Package popsom7 version 7.0.0 Index]