Database Reference
In-Depth Information
# sqrt transform on the count gives more dynamic range to
the shading
# inv provides the inverse transformation function of trans
hexbinplot(log10(MeanHouseholdIncome) ˜ MeanEducation,
data=zcta, trans = sqrt, inv = function(x) x^2,
type=c("g", "r"))
Scatterplot Matrix
A scatterplot matrix shows many scatterplots in a compact, side-by-side fashion.
The scatterplot matrix, therefore, can visually represent multiple attributes of a
dataset to explore their relationships, magnify differences, and disclose hidden
patterns.
Fisher's iris dataset [13] includes the measurements in centimeters of the sepal
length, sepal width, petal length, and petal width for 50 flowers from three species
of iris. The three species are setosa , versicolor , and virginica . The iris dataset
comes with the standard R distribution.
In Figure 3.18 , all the variables of Fisher's iris dataset (sepal length, sepal width,
petal length, and petal width) are compared in a scatterplot matrix. The three
different colors represent three species of iris flowers. The scatterplot matrix in
Figure 3.18 allows its viewers to compare the differences across the iris species for
any pairs of attributes.
Search WWH ::




Custom Search