TreeStretchedToBottom: Basically adds a Stretch column to the output of...

Description Usage Arguments Value

View source: R/TreeStretchedToBottom.R

Description

Basically adds a Stretch column to the output of NewClusteringNodes

Usage

1
2
TreeStretchedToBottom(lTree, iParentNodeIndex = 0, iLayerNbr = 0,
  bStretch = T)

Arguments

lTree

is an output of RecursivePartitioningTreeClustering

iParentNodeIndex

Keeps track of where in the tree the function is.

iLayerNbr

Keeps track of where in the tree the function is. Should initiliase as 1

bStretch

Setting it to T ensures that leaf nodes are mentioned in all layers below the layer of the leaf node as well.

Value

NodeLabel ParentNodeIndex NodeColumnName NodeColumnValue LeafNode Members LayerNbr Stretch Root>1 0 elsalvadoraid n FALSE 104 1 FALSE Root>1>1 Root>1 religiousgroupsinschools n FALSE 74 2 FALSE Root>1>1>1 Root>1>1 aidtonicaraguancontras n TRUE 1 3 FALSE Root>1>1>1 Root>1>1 aidtonicaraguancontras n TRUE 1 4 TRUE


thecomeonman/CURD documentation built on May 20, 2019, 7:37 a.m.