910 search results for "how to import image file to R"

Generate your own Risk Characterization Theatre

October 24, 2010
By
Generate your own Risk Characterization Theatre

In the recent posts Visualizing Smoking Risk and Shades of grey I wrote about the use of “Risk Characterization Theatres” (RCTs) to communicate probabilities. I found the idea in the book The Illusion of Certainty, by Eric Rifkin and Edward Bouwer. Here is how they explain the RCTs: Most of us are familiar with the crowd in a

Read more »

Incremental improvements to Nightlights mapping thanks to R-Bloggers

October 22, 2010
By
Incremental improvements to Nightlights mapping thanks to R-Bloggers

The R community is very generous and collaborative. This post walks through the suggestions left by commenters to my previous post on Steve Mosher's Nightlights work, and show the resulting much-improved output.

Read more »

Middlesboro Kentucky: Pitch Black?

October 19, 2010
By
Middlesboro Kentucky: Pitch Black?

In his august draft of Hansen2010, Dr. Hansen makes the following claim: “We present evidence here that the urban warming has little effect on our standard global temperature analysis.  However, in the Appendix we carry out an even more rigorous test. We show there that there are a sufficient number of stations located in “pitch

Read more »

More Graphics with Google earth

October 18, 2010
By
More Graphics with Google earth

Dr. Paul, R graphics guru, blessed us with his rendition of transparent contour maps drawn on a google earth image: Cool stuff. I’ll be taking his code and turning it into a function and sharing it back: here is the picture his code creates: That is just plain slick.  While I was looking over his

Read more »

Cramer’s Stock Pick Recommendations Analyzed

October 16, 2010
By
Cramer’s Stock Pick Recommendations Analyzed

Bill Alpert of Barron’s has demonstrated the use of R in financial journalism as he criticized the performance of Jim Cramer’s stock picks.  Patrick Burns was an advisor for the analysis done in the article.  R was an important tool that allowed them to do their research as indicated by Burns in his...

Read more »

Cramer’s Stock Pick Recommendations Analyzed

October 16, 2010
By
Cramer’s Stock Pick Recommendations Analyzed

Bill Alpert of Barron’s has demonstrated the use of R in financial journalism as he criticized the performance of Jim Cramer’s stock picks.  Patrick Burns was an advisor for the analysis done in the article.  R was an important tool that allowed them to do their research as indicated by Burns in his...

Read more »

Nightlights: First Principles

October 15, 2010
By
Nightlights: First Principles

With the publication of Hansen2010 forthcoming it is critical to examine the subject afresh. The global temperature index product from NASA is known as GISSTEMP .GISSTEMP, like the temperature index from Hadley/CRU and NCDC attempts to estimate the average temperature of the globe using historical data archived in the GHCN ( Global Climate Historical Network)

Read more »

Parallel processing of independent Metropolis-Hastings algorithms

October 11, 2010
By
Parallel processing of independent Metropolis-Hastings algorithms

With Pierre Jacob, my PhD student, and Murray Smith, from National Institute of Water and Atmospheric Research, Wellington, who actually started us on this project at the last and latest Valencia meeting, we have completed a paper on using parallel computing in independent Metropolis-Hastings algorithms. The paper is arXived and the abstract goes as follows:

Read more »

Plotting time vs date in R

October 2, 2010
By
Plotting time vs date in R

Having done the plot with python+matplotlib, thought I would have a go reproducing it in R, using only the builtin "plot". So, just to recap - this is a plot of the sun times (rise/set,twilight and blinding) as generated by the great python library pyephem. The R code reads in a csv file as output from a...

Read more »

Cooling stations. A UHI Hint

September 29, 2010
By
Cooling stations. A UHI Hint

Update: google earth files in the box: Personally I like to look at things backwards. Why are cool sites cool? So download the kml or kmz file and you can tour 62 sites: All with 90 years of data or more. All with a cooling trend. And all “supposedly” urban. what do you see at

Read more »