2738 search results for "GIS"

analyze the consumer expenditure survey (ce) with r

November 13, 2012
By

the consumer expenditure survey (ce) is the primo data source to understand how americans spend money.  participating households keep a running diary about every little purchase over the year.  those diaries are then summed up into precise expenditure categories.  how else are you gonna know that the average american household spent $34 (±2) on bacon, $826 (±17) on cellular...

Read more »

Comparing Shiny with gWidgetsWWW2.rapache

November 12, 2012
By

(A guest post by John Verzani) A few days back the RStudio blog announced Shiny, a new product for easily creating interactive web applications (http://www.rstudio.com/shiny/). I wanted to compare this new framework to one I’ve worked on, gWidgetsWWW2.rapache – a version of …Read more »

Read more »

Introduction to R and Biostatistics (2012 version): presentation

November 12, 2012
By
Introduction to R and Biostatistics (2012 version): presentation

To follow my Introducing R and Biostatistics to first year LCG students (2012 version) post,  you can now find the presentation online from my site either in presentation format, in a single webpage format, or the raw Rmd file. To prove the point that publishing to RPubs is super easy, you can also find the single...

Read more »

A thermometer in R using Arduino and Java

November 11, 2012
By
A thermometer in R using Arduino and Java

A couple of weeks ago, Markus Gesmann demonstrated the feasability of connecting R and Arduino using Processing and Rserve in a nice and simple example. This actually rekindled my interest in Arduino that I hadn’t had time to satisfy… Again I will show a very easy and simple example, but this time, transferring the data between Arduino and R...

Read more »

Temporal networks with igraph and R (with 20 lines of code!)

November 10, 2012
By

In my last post about how a twitter conversation unfolds in time on Twitter, the dynamical nature of information diffusion in twitter was illustrated with a video of the temporal network of interactions (RTs) between accounts. The temporal evolution of … Continue reading →   Related posts: Temporal network of information diffusion...

Read more »

Did the sun just explode? The last Dutch Book you’ll ever make

November 9, 2012
By
Did the sun just explode? The last Dutch Book you’ll ever make

In today’s XKCD, a pair of (presumably) physicists are told by their neutrino detector that the sun has gone nova. Problem is, the machine rolls two dice and if they both come up six it lies, otherwise it tells the truth. The Frequentist reasons that the probability of obtaining this result if the sun had

Read more »

Exploring GAMs with Rosemary Hartman

November 9, 2012
By
Exploring GAMs with Rosemary Hartman

Today at Davis R Users’ Group, Rosemary Hartman took us through her work in progress fitting general additive models to organism presence/absence data. Below is her presentation and script. You can get the original script and data here Also, check the comments below for some discussion of other options for this type of analysis, such as...

Read more »

Terrain effects on SUHI estimates

November 9, 2012
By
Terrain effects on SUHI estimates

Introduction Zhang and Imhoff (2010)  pdf here utilized NLCD impervious surface area (ISA), Olson biomes, and MODIS Land Surface temperature (LST) to estimate the magnitude of UHI in large cities across the US.  Peng  employed a   similar approach in studying 419 large cities ( population greater than 1m ) around world. Peng’s work suggests a limit or

Read more »

Unbelievable and Amazing R Shiny–Web Parameter Test in 1.5 Hours

November 9, 2012
By
Unbelievable and Amazing R Shiny–Web Parameter Test in 1.5 Hours

Life keeps getting better and better.  Yesterday, I discovered the absolutely unbelievable and amazing work RStudio has done with Shiny employing one of my favorite R packages websockets.  As proof of the ease and quality, within a couple of ...

Read more »

Interactive color picker, using locator()

November 9, 2012
By
Interactive color picker, using locator()

I mostly wrote this just to see how locator() works, and ended up making an HCL color picker, so you can make your own visually offensive rainbow color palettes! Or, you can make your own nice color palettes. It is up to you. Essentially, this script...

Read more »