powered by
Compute the (x,y)-positions of points on the map.
map.position(map,points)
An object of type 'map'.
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 in the 'points' data frame.
The y-position of the corresponding point in the 'points' data frame.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab