square2 {lazy.tree}R Documentation

Test Data for Classification Tree without Error

Description

Test Data for Classification Tree without Error

Usage

square2

Format

A data frame with 500 rows and 3 variables

x1

num: the horizontal coodinate (regressor)

x2

num: the vertical coodinate (regressor)

y

num: the region number (criterion)

Details

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)] )
 

Source

Generated by author.


[Package lazy.tree version 0.1.5 ]