ggplot2

2011 Perth City to Surf Stats

September 6, 2011 | nzcoops

Like every year, August sees the thousands taking part in the Perth City to Surf, and with that comes the chance for some stats. Why? Curiosity more than anything, and to convince myself that my time in the 12km run … Continue reading → [Read more...]

A first go at ‘manipulate’ in RStudio

August 26, 2011 | CL

Something I’m missing from R (especially coming from Mathematica) is the ability to quickly build interactive graphs, which I find very useful for getting a good intuition of the impact of parameters on a mathematical function. Richie Cotton’s post about … Continue reading → [Read more...]

useR2011 Easy interactive ggplots talk

August 17, 2011 | richierocks

I’m talking tomorrow at useR! on making ggplots interactive with the gWidgets GUI framework. For those of you at useR, here is the code and data, so you can play along on your laptops. For everyone else, I’ll make the slides available in the next few days so ... [Read more...]

Trading volume forecast for an illiquid stock

August 8, 2011 | Dzidorius Martinaitis

When dealing with transaction cost analysis, a stock’s volume is assumed to be stable or foreseeable.  However, there is different picture, then we are dealing with an illiquid stock. It is relatively easy to forecast the volume of a liquid stock, because trading volume has high autocorrelation – the volumes ... [Read more...]

How big block trades affect stock market prices?

July 27, 2011 | Dzidorius Martinaitis

I will be giving a presentation on “Optimal transaction cost” in Vilnius on  16  August. While preparing the presentation and looking for an optimal execution solution, a natural question arises: does the size of the trade affect stock market price? I’m sure, you would say 100 % yes. Well, you would be ... [Read more...]

Scatterplot matrices in R

July 25, 2011 | Stephen Turner

I just discovered a handy function in R to produce a scatterplot matrix of selected variables in a dataset. The base graphics function is pairs(). Producing these plots can be helpful in exploring your data, especially using the second method below.Try...
[Read more...]

R at Wikimedia

July 9, 2011 | Adam.Hyland

Last year Wikipedia rolled out a pilot program to use Wikipedia article creation as an assignment in the classroom. Students wrote articles on a topic area and rather than turning them into a professor and forgetting about it they upload it to Wikipedia and expose it to readers around the ... [Read more...]

A simple ggplot2 scatterplot

June 29, 2011 | Luke Miller

Here’s a bit of code used to produce one of the figures in my recent paper dealing with modeling rocky intertidal snail body temperatures. This was my first foray into ggplot2, and it only involved a few hours of head-scratching. The plot is a co... [Read more...]

Statistical Analysis of the LAC Degerloch Volkslauf 2010

June 15, 2011 | Simon

Inspired by a post by a R-blogger my interest was piqued to examine the runs in my athletic club. Therefore, I started R and analysed he LAC Degerloch Volkslauf 2010; a 10km race near Stuttgart-Hoffeld. Next lines, I present this statistical examination. The data can be found at: data. Firstly, I ... [Read more...]

gridExtra – Multiple plots from ggplot2

June 8, 2011 | nzcoops

Thanks to this great post http://www.imachordata.com/?p=730 we can now put multiple plots on a display with ggplot2. This provides somewhat similar functionality to ‘par(mfrow=c(x,y))’ which would allow multiple plots with the base plot function. gridExtra doesn’t have quite the same level ... [Read more...]

Conway’s Game of Life in R with ggplot2 and animation

June 5, 2011 | ramhiser

In undergrad I had a computer science professor that piqued my interest in applied mathematics, beginning with Conway’s Game of Life. At first, the Game of Life (not the board game) appears to be quite simple — perhaps, too simple — but it has been widely explored and is useful for ... [Read more...]
1 3 4 5 6 7 11

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)