Last data update: 2014.03.03

R: Function, used by som.plot to create plots of Kohonen maps
hexbinpieR 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 hexbinpie directly. The function draws pie charts in a hexagonal grid.

Usage

hexbinpie(x, y, kat, xbnds = range(x), ybnds = range(y), 
    hbc = NA, pal = NA, hex = "gray", circ = "gray50", 
    cnt = "black", show.counter.border, ...)

Arguments

x

vector of X coordinates

y

vector of Y coordinates

kat

vector of categories for each data point

xbnds

limits in X direction

ybnds

limits in Y direction

hbc

data frame holding the neurons

pal

colours to be used to plot the classes of input data

hex

colour for hexagons

circ

colour for circles

cnt

colour for labels in the pies

show.counter.border

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

...

more arguments for customising the plot

Value

The function returns no value

Warning

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

Author(s)

Benjamin Schulz and Andreas Dominik

References

see function som.plot()

Examples

## Not run: 
		hexbinpie(data$x, data$y, kat=data$kat, hbc = hbc, pal = pal, ...) 
	
## End(Not run)

Results