1980 search results for "ggplot"

Follow-up: So … daylight savings time does not minimize variance in sunrises

December 3, 2012
By
Follow-up: So … daylight savings time does not minimize variance in sunrises

Last week we posted a nice theory about daylight savings time, in particular, that its dates were chosen to reduce variance in the time of sunrise. It looked plausible from the graph. We were talking to our Microsoft Research colleague Jake Hofman who suggested "why don't you just find the optimal dates to change the clock by one hour?" So...

Read more »

The State of Statistics in Julia

December 2, 2012
By

Updated 12.2.2012: Added sample output based on a suggestion from Stefan Karpinski. Introduction Over the last few weeks, the Julia core team has rolled out a demo version of Julia’s package management system. While the Julia package system is still very much in beta, it nevertheless provides the first plausible way for non-expert users to

Read more »

ExCytR Concept

December 1, 2012
By
ExCytR Concept

The concept is to make a GUI to provide a static and dynamic linking between data and its network representations. Static access will involve making networks based on data and metadata stored in some table or spreadsheet. Dynamic control will provide interactive access to network construction and annotation properties. Together, these will provide rapid generation of information rich networks, based

Read more »

edply: combining plyr and expand.grid

November 30, 2012
By
edply: combining plyr and expand.grid

Here’s a code snippet I thought I’d share. Very often I find myself checking the output of a function f(a,b) for a lot of different values of a and b, which I then need to plot somehow. An example: here’s a function that computes the value of a sinusoidal function on a grid of points,

Read more »

The tools in an R package developer’s toolbox

November 29, 2012
By
The tools in an R package developer’s toolbox

Yihui Xie is the creator of several popular R packages, including knitr, animation and cranvas. In an interview with The Setup, he shares some of the software and hardware he uses in his data-to-day work, including (of course) R: For programming and data analysis, I primarily use R since I'm a statistician. I have created a bunch of R...

Read more »

Quick Shiny Demo – Exploring NHS Winter Sit Rep Data

November 28, 2012
By
Quick Shiny Demo – Exploring NHS Winter Sit Rep Data

Having spent a chink of the weekend and a piece of yesterday trying to pull NHS Winter sitrep data into some sort of shape in Scraperwiki, (described, in part, here: When Machine Readable Data Still Causes “Issues” – Wrangling Dates…), I couldn’t but help myself last night and had a quick go at using RStudio’s

Read more »

Fifty Shades of Grey in R

November 27, 2012
By
Fifty Shades of Grey in R

My wife went out to her book group tonight and their book of the month was 50 Shades of Grey. Sadly, I could think of is that plotting 50 shades in R would be a neat exercise. require(ggplot2) grey50 <- data.frame( x = rep(1:10, 5), y = rep(1:5, ...

Read more »

Applications open for 2013 John M Chambers Statistical Software Award

November 26, 2012
By

In 1998, John Chambers won the ACM Software Systems award for the S language, which the ACM heralded as having "forever altered how people analyze, visualize, and manipulate data". The R language is "not unlike S", and John continues pushing the frontiers of statistical computing as a member of the R Core Group. Ang his legacy continues in another...

Read more »

We NEED more data

November 22, 2012
By
We NEED more data

Email One of the historic difficulties of doing research on urban energy systems has been the limited availability of data at sufficiently detailed spatial resolutions. Without this data, you might end up relying on aggregate information about the built environment, building occupants, and local geography that doesn't apply to the specifics of a particular neighbourhood

Read more »

Representing density in two dimensions

November 21, 2012
By
Representing density in two dimensions

I’ll be subbing today for Chris, as we continue to explore some ggplot2 basics. Today, imagine that you have data distributed in two dimensions, and that you would like to convey differences in point density over space. As with many things, this...

Read more »