tree.segme: Returns the segmentation of the nodes of a visualization tree

Description Usage Arguments Value Author(s) See Also Examples

View source: R/tree.segme.R View source: R/denpro.R

Description

Returns the segmentation of the nodes of a visualization tree. When the visualization tree is a tail tree, finds a grouping for the observations. The grouping may be used to enhance scatter plots, graphical matrices, and parallel coordinate plots.

Usage

1
tree.segme(tt, paletti = NULL, pcf = NULL)

Arguments

tt

visualization tree; for example a tail tree

paletti

a sequence of numbers or colors (group labels)

pcf

internal; piecewise constant function

Value

Vector of length n, where n is the number of nodes in the visualization tree. The elements of the vector give the segmentation labels.

Author(s)

Jussi Klemela

See Also

paracoor

Examples

1
2
3
4
5
6
7
8
9
dendat<-sim.data(n=1000,type="cross",seed=1)
rho<-1.1
tt<-leafsfirst(dendat=dendat,rho=rho)

ts<-tree.segme(tt)

plot(dendat,col=ts)

paracoor(dendat,paletti=ts)

denpro documentation built on May 2, 2019, 8:55 a.m.