Draws a partition

Description

Draws the partition calculated with function "partition".

Usage

1
2
plotparti(pa, d1 = NULL, d2 = NULL, dendat = NULL, restri = NULL, 
pch = 21, support = pa$support, col = "black", cex.axis = 1)

Arguments

pa

partition; output of function "partition"

d1

integer 1,...,d; for the case the partition is a partition of a higher than 2 dimensional rectangle, "d1" is the first direction of the partition

d2

integer 1,...,d; for the case the partition is a partition of a higher than 2 dimensional rectangle, "d2" is the second direction of the partition

dendat

n*d data matrix; if given as an argument it will also be plotted

restri

internal

pch

symbol for plotting "dendat"; see function "points"

support

the bounds of the partition

col

color of the lines of the partition

cex.axis

magnification factor for the axis annotation; see "par"

Value

A plot at the graphics window

Author(s)

Jussi Klemela

See Also

partition

Examples

1
2
3
4
5
6
7
library(denpro)
dendat<-sim.data(n=100,seed=5,type="mulmodII")
et<-densplit(dendat)

pa<-partition(et)

plotparti(pa)