| square2 {lazy.tree} | R Documentation |
Test Data for Classification Tree without Error
square2
A data frame with 500 rows and 3 variables
num: the horizontal coodinate (regressor)
num: the vertical coodinate (regressor)
num: the region number (criterion)
This data consist of 500 observations of two dimensional data.
Use below to see the structure:
X=cbind(square2$x1,square2$x2)
y=square2$y
plot( X, type="n" )
text( X, as.character(y)
, col=c("red","green","blue","black")[as.numeric(y)] )
Generated by author.