Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Histogram



A histogram is a useful graphical view of the spread of the data. A histogram plot in Rattle includes three components. The first of these is obviously the coloured vertical bars. The default behaviour of R is to partition the data into ranges, and the frequency of each range is display as the bar. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now.



library(rattle)
data(audit)
hs <- hist(audit$Income, main="", xlab="", col=rainbow(10))
dens <- density(audit$Income)
rs <- max(hs$counts)/max(dens$y)
lines(dens$x, dens$y*rs, type="l")
rug(audit$Income)
title(main="Distribution of Income",
      sub=paste("Rattle", Sys.time(), Sys.info()["user"]))

http://rattle.togaware.com/code/rattle-audit-explore-distr-hist-income.R



This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now. This is a lot of text, just as a place holder for now.

Copyright © 2004-2006 Graham.Williams@togaware.com
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.