map.position: Compute Map Positions for Given Points

Description Usage Arguments Value Author(s) Examples

Description

Compute the (x,y)-positions of points on the map.

Usage

1

Arguments

map

An object of type 'map'.

points

A data frame of points to be mapped.

Value

A data frame with (x,y)-positions. The data frame has two columns:

x-dim

The x-position of the corresponding point in the 'points' data frame.

y-dim

The y-position of the corresponding point in the 'points' data frame.

Author(s)

Lutz Hamel

Examples

1
2
3
4
5
6
7
8
data(iris)

df <- subset(iris,select=-Species)
labels <- subset(iris,select=Species)

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

map.position(m,df)

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

Related to map.position in popsom...