1961 search results for "Twitter"

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 »

Use R to Analyze Players for your Fantasy Hockey League

October 4, 2010
By
Use R to Analyze Players for your Fantasy Hockey League

I am in a fantasy hockey league for the first time this seasons and I wanted to use R to analyze players.  Since I am relatively new to R, I am quite certain this code could be improved.  The code below is functional, however, and while this isn’t my complete analysis, I think it outlines

Read more »

V3 Station mash up

October 3, 2010
By
V3 Station mash up

Hmm, lets see how a fusion table works with map maker. The process works like this. We read in the GHCN inventory file into R. ( see code below ) We then clean it up ( the names fields and missing values) and we output it to a  *csv  file. Then open the csv in

Read more »

Le Monde puzzle [34]

October 3, 2010
By
Le Monde puzzle [34]

Since the puzzle in this week (-end) edition of Le Monde is not (easily) solvable via an R program, I chose to go back to an older puzzle that my students can solve. Eleven token are distributed around a 200 meter perimeter-long ring. They all start moving at the same speed, 18km/h, in

Read more »