2074 search results for "twitteR"

Nightlights in China

October 10, 2010
By
Nightlights in China

Update: Some are not aware that GISS has switched to using Nightlights in the ROW. According to their updates they have moved to nightlights for the ROW. The station inventories can be found here The station I examine below is listed  like this in the new giss inventory 20551495001 TURPAN 42.92 91.00 24 384R -9MVDEno-9x-9HOT

Read more »

Le Monde puzzle [40]

October 10, 2010
By
Le Monde puzzle [40]

The puzzle in Le Monde this week is called the “square five” (sic!): Two players each have twenty-five cards with five times each of the digits 1,2,3,4,5. They alternate putting one card on top of the pile, except that they can instead take an arbitrary number of consecutive cards from the top of the pile

Read more »

Add an animated R plot to your LaTeX document

October 10, 2010
By
Add an animated R plot to your LaTeX document

My first introduction with LaTeX was not very pleasant. I got tired and frustrated by writing so many codes for producing a simple document; but a few days ago I could write a function for producing an animated plot in R and also could export it to my LaTeX document with all its animations intact (using animation package of...

Read more »

BioStar users (of the world, unite)

October 9, 2010
By
BioStar users (of the world, unite)

Egon writes: Can someone please plot the BioStar users on a Google Map? Sounds like a challenge. Let’s go. 1. Harvesting user IP addresses BioStar user profiles (here’s mine) include a location field. It’s free text and optional, which means that location is missing or inaccurate for many users. However, if you’re logged into BioStar

Read more »

Nightlights II

October 8, 2010
By
Nightlights II

I’ve modified some routines so that we are always grabbing a roughly equal area regardless of the latitude. Basically, you do this: getLonScaleFactor <- function(lat){ kmAtEq <-111.3195 kmAtLat <- 111.41288*cos(lat*DEGREES.TO.RADIANS)-.09350*cos(3*lat*DEGREES.TO.RADIANS)+0.00012*cos(5*lat*DEGREES.TO.RADIANS) return(kmAtEq/kmAtLat) } # the above function returns a scale factor for km per degree @ a given latitude getExtent <-function(x,halfLength=.5,LonLat) { lonAdjust<-getLonScaleFactor(LonLat)*halfLength yMin <- max(ymin(x),LonLat

Read more »

Nightlights

October 7, 2010
By
Nightlights

Those who follow the discussions about UHI understand that “nightlights” plays a large role in defining whether or not a station is considered Rural or Urban. In the work of GISS nightlights are determined by looking at the DSMP product. The product is available in 30 arcsecond format. That’s .00833 degrees. The following issue arises.

Read more »

Pre-ordinary meeting

October 7, 2010
By
Pre-ordinary meeting

Those are the slides for the (basic) introduction of the paper by Mark Girolami and Ben Calderhead at the RSS next week. Not to be confused with my comments on the paper. Filed under: R, Statistics, Travel, University life Tagged: Hamiltonian, Langevi...

Read more »

Science is vital – what we don’t know yet

October 6, 2010
By
Science is vital – what we don’t know yet

This post is not about R (for a change). For working UK scientists, science is vital – sign the on-line petition to preserve science funding. For my contribution of what we don’t know yet - We don’t know whether we can use biomarkers of kidney injury to personalise the doses of medications to maximise the

Read more »

Creating GUIs in R with gWidgets

October 6, 2010
By
Creating GUIs in R with gWidgets

The gWidgets framework is a way of creating graphical user interfaces in a toolkit independent way. That means that you can choose between tcl/tk, Gtk, Java or Qt underneath the bonnet. There's also a web-version based upon RApache and ExtJS. Since the code is the same in each case, you can change your mind and swap toolkits...

Read more »

Typos…

October 5, 2010
By
Typos…

Edward Kao just sent another typo found both in  Monte Carlo Statistical Methods (Problem 3.21) and in Introducing Monte Carlo Methods with R (Exercise 3.17), namely that should be I also got another email from Jerry Sin mentioning that matrix summation in the matrix commands of Figure 1.2 of Introducing Monte Carlo Methods with R

Read more »