Displaying Time Series, Spatial, and Space-Time Data with R by Oscar Perpinan Lamigueiro

Displaying Time Series, Spatial, and Space-Time Data with R by Oscar Perpinan Lamigueiro

Author:Oscar Perpinan Lamigueiro [Oscar Perpinan Lamigueiro]
Language: eng
Format: epub
Tags: Data Visualization
Publisher: Chapman and Hall/CRC
Published: 2014-04-03T16:00:00+00:00


8.1.2 Proportional Symbol with spplot

The NO2sp SpatialPointsDataFrame can be easily displayed with the spplot method provided by the sp package, based on xyplot from the lattice package. Both color and size can be combined in a unique graphical output because spplot accepts both of them (Figure 8.1). I define a sequential palette whose colors denote the value of the variable (green for lower values of the contaminant, brown for intermediate values, and black for highest values).

Figure 8.1

Annual average of NO2 measurements in Madrid. Values are shown with different symbol sizes and colors for each class with the spplot function.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.