powered by
Plot the SOM in a 2-dim map with means and sd bars.
# S3 method for som plot(x, sdbar=1, ylim=c(-3, 3), color=TRUE, ntik=3, yadj=0.1, xlab="", ylab="", ...)
a som object
the length of sdbar in sd, no sdbar if sdbar=0
the range of y axies in each cell of the map
whether or not use color plotting
the number of tiks of the vertical axis
the proportion used to put the number of obs
x label
y label
other options to plot
Jun Yan <jyan@stat.uiowa.edu>
foo <- som(matrix(rnorm(1000), 250), 3, 5) plot(foo, ylim=c(-1, 1))
Run the code above in your browser using DataLab