rulesets {Harvest.Tree}R Documentation

A logical matrix for a terminal node

Description

Return a logical matrix of the rule sets which define a terminal node

Usage

rulesets(noden, newsim, varn, nodenumb)

Arguments

noden

a terminal node defined by a set of rules, from function "treemat"

newsim

data to be harvested

varn

x variable names

nodenumb

all the labels of terminal nodes

Value

A nxnn logical matrix, n=number of data points to be harvested, nn=number of rules defining a terminal node. Each column of the matrix corresponding to a node that is defined by one variable/rule, its name corresponds to that variable. Note the original terminal node is just the intersection of these nodes.


[Package Harvest.Tree version 1.1 Index]