Archive

Posts Tagged ‘R’

Visualizing Changes With Levelplot Heatmap

June 8th, 2009 jsmith No comments


heatmap_diff.png

I recently worked on configuring and enabling Ehcache with our Hibernate objects for common domain objects we query on almost every page request. I was interested in whether this would improve performance, and how best to illustrate the effect of the pages across threads and actions.
Read more…

Categories: Uncategorized Tags:

Summary statistics by group with R

April 29th, 2009 jsmith 1 comment

I was working on profiling some code today and wanted to obtain some summary statistics by groups with two factors. The original source was a log4j file that included entries from an aspect based logger I had enabled. I had already written a small perl script to extract the pertinent information and generate a CSV file with (clazz,method,elapsed) entries, so I was looking for some standard statistics like mean, median, etc. based on clazz+method combinations.
Read more…

Categories: Uncategorized Tags:

More Quick R Maps: Country View of WHO Confirmed Cases

April 28th, 2009 jsmith No comments

who_world_swineflu_04282009.png

I realized it should be pretty easy to use the approach as the previous R map I generated to make a smaller scale map at a country level. In this example I’m setting up an initial non-plotted map with limits on the X and Y ranges I want to display. Next I assign colors to the observations of this subset map, plot these filled areas, then plot all boundaries.
Read more…

Categories: Uncategorized Tags: ,

Using R for Quick Mapping of Swine Flu

April 27th, 2009 jsmith No comments

swineflu_04272009.png
I haven’t had much experience using R for spatial visualization, so I thought I would give the “maps” packages a go tonight and create a quick thematic map of confirmed cases of swine flue by state. It doesn’t have all the elements I would want on a production map, but I was going for speed of generation.

Read more…

Categories: Uncategorized Tags: ,