Compute Map Positions for Given Points
Compute the (x,y)-positions of points on the map.
position(map,points)
map |
An object of type 'map'. |
points |
A data frame of points to be mapped. |
A data frame with (x,y)-positions. The data frame has two columns:
The x-position of the corresponding point int the 'points' data frame.
The y-position of the corresponding point int the 'points' data frame.
Lutz Hamel
data(iris) df <- subset(iris,select=-Species) labels <- subset(iris,select=Species) m <- map(df,labels,xdim=15,ydim=10,train=10000) position(m,df)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.