square3 {lazy.tree}R Documentation

Test Data for Classification Tree with Error

Description

Test Data for Classification Tree with Error

Usage

square3

Format

A data frame with 1000 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 1000 observations of two dimensional data.

Use below to see the structure:

 X=cbind(square3$x1,square3$x2)
 y=square3$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 ]