map.position {popsom7}R Documentation

Compute Map Positions for Given Points

Description

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

Usage

map.position(map,points)

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

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)

[Package popsom7 version 7.1.0 Index]