2147 search results for "ggplot2"

Measuring Randomness in Capital Markets

September 29, 2013
By
Measuring Randomness in Capital Markets

What is Random? As previously discussed, there’s no universal measure of randomness. Randomness implies the lack of pattern and the inability to predict future outcomes. However, The lack of an obvious model doesn’t imply randomness anymore than a curve fit one implies order. So what actually constitutes randomness, how can we quantify it, and why do we care? Randomness $\neq$ Volatility, and Predictability $\neq$ Profit First...

Read more »

Visualizing “ObamaCare-related” Job Cuts

September 28, 2013
By
Visualizing “ObamaCare-related” Job Cuts

I was reviewing RSS feeds when I came across this story about “ObamaCare Employer Mandate: A List Of Cuts To Work Hours, Jobs” over on Investors.com. Efficacy of the law notwithstanding, I thought it might be interesting to visualize the data since the folks over at Investors.com provided a handy spreadsheet that they seem to

Read more »

Profiling R code

September 25, 2013
By
Profiling R code

Profiling R code gives you the chance to identify bottlenecks and pieces of code that needs to be more efficiently implemented . Profiling R code is usually the last thing I do in the process of package (or function) development. In my experience we can reduce the amount of time necessary to run an R

Read more »

Guns are cool

September 21, 2013
By
Guns are cool

Reddit has a subreddit Guns are cool which in turn contains the MASS SHOOTINGS IN 2013 page. I pulled those data to see if there was anything of interest to plot or examine. I ended with modelling the frequency of shootings (once a day, Poisson distribution), and number of victims per shootings, a mixture of distributions, 2% of shootings...

Read more »

Are you ready for some Football? (No not soccer)

September 20, 2013
By
Are you ready for some Football? (No not soccer)

With two weeks of NFL football under our belts, it is time to start peaking under the proverbial hood at some of the statistics.  What better way than with R?  If you want the best stats out there, I recommend the website http://www.advancedn...

Read more »

Animated IRL Pirate Attacks In R

September 19, 2013
By
Animated IRL Pirate Attacks In R

Avast me hearRties! (ok, enough of the pirate speak in a blog post) It wouldn’t be TLAPD without out some modest code & idea pilfering from Mark Bulling & Simon Raper. While those mateys did a fine job hoisting up some R code (your really didn’t think I’d stop with the pirate speak, did you?)

Read more »

Clustering Search Keywords Using K-Means Clustering

September 17, 2013
By
Clustering Search Keywords Using K-Means Clustering

One of the key tenets to doing impactful digital analysis is understanding what your visitors are trying to accomplish. One of the easiest methods to do this is by analyzing the words your visitors use to arrive on site (search keywords) and what words they are using while on the site (on-site search). Although Google has Clustering Search Keywords...

Read more »

A nifty area plot (or a bootleg of a ggplot geom)

September 17, 2013
By
A nifty area plot (or a bootleg of a ggplot geom)

The ideas for most of my blogs usually come from half-baked attempts to create some neat or useful feature that hasn’t been implemented in R. These ideas might come from some analysis I’ve used in my own research or from some other creation meant to save time. More often than not, my blogs are motivated

Read more »

Using planel.groups in lattice

September 17, 2013
By
Using planel.groups in lattice

Last Tuesday I attended the LondonR user group meeting, where Rich and Andy from Mango argued about the better package for multivariate graphics with R: lattice vs. ggplot2. As part of their talk they had a little competition in visualising London Unde...

Read more »

BCEA in UseR!

September 13, 2013
By
BCEA in UseR!

In a recent post, I had hinted at big news for BCEA $-$ I thought it was pretty much a done deal, but because it wasn't yet set in stone, I didn't want to jinx it...But now I've sorted all the details with Springer, who have asked me to write a book on the...

Read more »