Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

marginal

Plot Marginal Distribution


Description

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

Usage

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

data(iris)

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

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

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

popsom

Tools for Building, Visualizing, and Evaluating Self-Organizing Maps

v5.1
GPL
Authors
Lutz Hamel [aut, cre], Benjamin Ott [aut], Gregory Breard [aut], Robert Tatoian [aut], Michael Eiger [aut], Vishakh Gopu [aut]
Initial release
2020-12-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.