rect {lazy.tree} | R Documentation |
Test Data for Decision Tree
rect
A data frame with 50 rows and 7 variables
numeric: continuous criterion variable
numeric: discrete criterion variable
factor: categorical criterion variable
numeric: the horizontal coodinate
numeric: the vertical coodinate
factor: the horizontal coodinate
factor: the vertical coodinate
This data consist of 50 observations of two dimensional data.
Use below to see the structure:
X=cbind(rect$x1,rect$x2) y=rect$R plot( X, type="n" ) text( X, as.character(y) , col=c("red","green","blue","black")[as.numeric(y)] )
Generated by author.