Learn R Programming

DAAG (version 0.37)

spam7: Spam E-mail Data

Description

The data consist of 4601 email items, of which 1813 items were identified as spam.

Usage

data(spam7)

Arguments

source

George Forman, Hewlett-Packard Laboratories

These data are available from the University of California at Irvine Repository of Machine Learning Databases and Domain Theories. The address is: http://www.ics.uci.edu/~Here

Examples

Run this code
data(spam7)
require(rpart)
spam.rpart <- rpart(formula = yesno ~ crl.tot + dollar + bang +
   money + n000 + make, data=spam7)
plot(spam.rpart)
text(spam.rpart)

Run the code above in your browser using DataLab