Last data update: 2014.03.03

R: Function, used by som.plot to create plots of Kohonen maps
makehexbinplotR Documentation

Function, used by som.plot to create plots of Kohonen maps

Description

The function is used by som.plot. It is not necessary to call makehexbinplot directly.

Usage

makehexbinplot(data, col = NA, show.legend = TRUE, legend.width = 4, 
    turn = FALSE, window.width = NA, window.height = NA, onlyDefCols = FALSE, 
    scaleX = NA, scaleY = NA, scale = NA, new.xdim = NA, new.ydim = NA, 
    show.box = TRUE, show.axis = FALSE, edit.cols = FALSE, 
    show.counter.border = 0.98, ...)

Arguments

data

data frame to be plotted

col

default colours for the classes of the dataset. Possible values include:

  • default value: NA. Colours are generated by rainbow()

  • vector of colour definitions

  • data frame with name of a class in column 1 and colour definitions in column 2 If the number of defined colours is smaller then the number of classes in the dataset, colours for the remaining classes are generated by rainbow

show.legend

default: TRUE; defines if colour legend is displayed

legend.width

default: 4; Width of legend

turn

default: FALSE; swap X and Y axis

window.width

default: NA; width of the window

window.height

default: NA; height of the window

onlyDefCols

default: FALSE; if TRUE, all undefined colours are replaced by white

scaleX

default: NA; scale factor for X axis

scaleY

default: NA; scale factor for Y axis

scale

default: NA; scale factor for X and Y axis

new.xdim

default: NA; scale X axis to specified number of neurons

new.ydim

default: NA; scale Y axis to specified number of neurons

show.box

default: TRUE; show frame around the plot

show.axis

default: FALSE; show x and Y axis

edit.cols

default: FALSE; if TRUE, a dialog box opens and allows editing of all color definitions

show.counter.border

percentile as limit for the display of labels in the pie charts.

...

In addition all arguments accepted by plot() are allowed.

Value

The function does not returns a value.

Warning

The function is called by som.plot() and not intented to be used directly.

Author(s)

Benjamin Schulz, Andreas Dominik

References

see function som.plot()

Examples

## Not run: 
		(data.frame(coo[, c(1,2)], kat = dat[-1, dat[1,1]+1]), ...)
	
## End(Not run)

Results