**levelplot example: soil temperature (left) and moisture (right)**

Several recent articles appeared on the R-bloggers feed aggregator that demonstrated an interesting visualization of time series data using color. This style of visualization was readily adapted for the time series data I regularly collect (soil moisture and temperature), and quickly implemented with the `levelplot()` function from the lattice package. I hadn’t previously considered using a mixture of factor (categorical) and continuous variables within a call to `levelplot()`, however the resulting figure was more useful than expected (see above). A single day’s observation is represented by a colored strip (redder hues are higher temperature values, and lower soil moisture values), placed along the x-axis according to the date of that observation, and in a row defined by the location where that observation was collected from. Paneling of the data can be used to represent a more complex hierarchy, such as sensor depth or landscape position. At the expense of *quantitative data retrieval* (which is better supported be scatter plots), *qualitative patterns* are quickly identified within the new graphic.

read more

*Related*

To

**leave a comment** for the author, please follow the link and comment on their blog:

** dylan's blog**.

R-bloggers.com offers

**daily e-mail updates** about

R news and

tutorials on topics such as:

Data science,

Big Data, R jobs, visualization (

ggplot2,

Boxplots,

maps,

animation), programming (

RStudio,

Sweave,

LaTeX,

SQL,

Eclipse,

git,

hadoop,

Web Scraping) statistics (

regression,

PCA,

time series,

trading) and more...

If you got this far, why not

__subscribe for updates__ from the site? Choose your flavor:

e-mail,

twitter,

RSS, or

facebook...

**Tags:** Open Source GIS and Mapping Ideas, pedon data, SJER, Visualization of Soil Properties