Publications by dylan

Un-Wrapping a Sphere with R

08.12.2009

Premise I was recently asked to print out a fabric pattern that could be used to cover a sphere, about the size of a ping pong ball, for the purposes of re-creating a favorite cat toy (quite important). Thinking this over, I realized that this was basically a map projection problem– and could probably be solved by scaling an interrupted sinusoi...

1297 sym 2 img

Estimated Net Worth of SoilWeb- Our Online Soil Survey

28.12.2009

According to the excellent source code evaluation tool, SLOCCount, our online soil survey (SoilWeb) code is worth about $268,543 and would require about 2 years of development time to re-create from scratch with a single developer working full-time. This is a fairly close estimate, as I have been working (part-time) on this code-base for 3 years ...

984 sym R (568 sym/1 pcs)

Interesting use of levelplot() for time series data

16.01.2010

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...

1580 sym 2 img

Updates to SoilWeb

17.01.2010

Soil Profiles in Color Added color support to the mini-profiles used in graphical map unit summaries, the Google Earth interface, and iPhone application. SSURGO doesn’t contain soil color data, so colors (in Munsell notation) were extracted from the OSD database, and converted into RGB triplets. Using horizon information from the OSD database a...

933 sym 6 img 1 tbl

Two New Soils-Related KMZ Demos

10.02.2010

LCC KMZ Soil Texture KMZ Forgot to post these KMZ files: 1-km scale, aggregate LCC and soil texture data, derived from SSURGO. These are part of a series of KMZ / raster datasets that will be published soon. See attached files at the bottom of the page. Enjoy! read more Related To leave a comment for the author, please follow the link and comm...

667 sym 4 img

Visual Interpretation of Principal Coordinates (of) Neighbor Matrices (PCNM)

21.02.2010

Principal Coordinates (of) Neighbor Matrices (PCNM) is an interesting algorithm, developed by P. Borcard and P. Legendre at the University of Montreal, for the multi-scale analysis of spatial structure. This algorithm is typically applied to a distance matrix, computed from the coordinates where some environmental data were collected. The resulti...

1647 sym

Numerical Integration/Differentiation in R: FTIR Spectra

23.02.2010

Stumbled upon an excellent example of how to perform numerical integration in R. Below is an example of piece-wise linear and spline fits to FTIR data, and the resulting computed area under the curve. With a high density of points, it seems like the linear approximation is most efficient and sufficiently accurate. With very large sequences, it ma...

947 sym 2 img

SoilWeb iPhone App: Beta-Testers?

23.02.2010

iPhone App Screenshot rev 0.2 – icon iphone App Screenshot rev 0.2 – in Fresno More Updates: The application is now available on the Apple iTunes Store. Preliminary documentaion here. 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 up...

591 sym 4 img

Yet Another plyr Example

04.03.2010

another plyr example quantiles (0.05, 0.25, 0.5, 0.75, 0.95) of DSC by temperature bin There are plenty of good examples on how to use functions from the plyr package. Here is one more, demonstrating how to use ddply with a custom function. Note that there are two places where the example function may blow up if you pass in poorly formatted or st...

971 sym 2 img

Accessing Climate Change Data and a Custom Panel Function for Filled Polygons

04.03.2010

GCS Model Grids Recently finished some collaborative work with Vishal, related to visualizing climate change data for the SEI. This project was funded in part by the California Energy Commission, with additional technical support from the Google Earth Team. One of the final products was an interactive, multi-scale Google Earth application, based...

1409 sym 2 img