Description Usage Arguments Value Author(s) See Also Examples
View source: R/tree.segme.R View source: R/denpro.R
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.
1 | tree.segme(tt, paletti = NULL, pcf = NULL)
|
tt |
visualization tree; for example a tail tree |
paletti |
a sequence of numbers or colors (group labels) |
pcf |
internal; piecewise constant function |
Vector of length n, where n is the number of nodes in the visualization tree. The elements of the vector give the segmentation labels.
Jussi Klemela
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.