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

Description Usage Arguments Value Warning Author(s) References Examples

View source: R/somplot.R

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

1
2
3
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

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

somplot documentation built on May 30, 2017, 4:30 a.m.