3872 search results for "git"

Add Text Annotations to ggplot2 Faceted Plot (an easier approach)

September 6, 2012
By
Add Text Annotations to ggplot2 Faceted Plot (an easier approach)

I recently posted a blog about adding text to a ggplot2 faceted plot (LINK). I was unhappy with the amount of time it takes to create the text data frame to then label the plot. And then yesterday when the … Continue reading →

Read more »

Kickstarter facilitates $50M in indie game funding

September 6, 2012
By
Kickstarter facilitates $50M in indie game funding

The social crowdfunding site Kickstarter announced today that it has enabled, via community contributions, $50M in funding in 2012 for new indie games. The second largest category of funding was for independent films. The blog post announcing the news includes analysis (using R, natch) of the breakdown in categories and funding sources. On a personal note, two Kickstarter projects...

Read more »

Comparing Stan to JAGS for Bayesian Inference (Part 1?)

September 5, 2012
By
Comparing Stan to JAGS for Bayesian Inference (Part 1?)

Stan is a new, open source, Bayesian inference tool. Stan is based on the the No-U-Turn sampler, a variant of Hamiltonian Monte Carlo. In order to compare Stan with JAGS, a gibbs sampler approach to Bayesian inference, I used the classic WinBUGS rats example. The rats example uses a hierarchical model to look at...

Read more »

Interactive web graphs with R – Overview and googleVis tutorial

September 5, 2012
By
Interactive web graphs with R – Overview and googleVis tutorial

Today I feel very lucky, as I have been invited to the Royal Statistical Society conference to give a tutorial on interactive web graphs with R and googleVis. I prepared my slides with RStudio, knitr, pandoc and slidy, similar to my Cambridge R talk. ...

Read more »

Merging Current Stock Quotes with Historical Prices

September 4, 2012
By
Merging Current Stock Quotes with Historical Prices

I got a question last week about going from the backtest to the trading. For example, if our system is based on today’s close, we can approximate the close value by the price at say 3:30pm, determine the signal and still have time enter the trade. It is not perfect, but one of possible solutions.

Read more »

How to create random binary matrices in R

September 4, 2012
By

It all started off as a simple question from Scott Chamberlain on Twitter: Make m x n matrix with randomly assigned 0/1 -> apply(m, c(1,2), function(x) sample(c(0,1),1)) -- Better/faster solution? #rstats — Scott Chamberlain (@recology_) August 28, 2012 The goal was to create a matrix with randomly selected binary elements, and a predetermined number of rows and columns, that...

Read more »

Installing RStan in Ubuntu

September 3, 2012
By

Based on RStan Getting Started R packages Assuming you have the most up to date version of R, the following packages need to be installed. This assumes you have the c2d4u PPA available. See here for more information. sudo apt-get install r-cran-...

Read more »

Descriptive statistics of some Agile feature characteristics

September 2, 2012
By
Descriptive statistics of some Agile feature characteristics

The purpose of software engineering research is to figure out how software development works so that the software industry can improve its quality/timeliness (i.e., lower costs and improved customer satisfaction). Research is hampered by the fact that companies are not usually willing to make public good quality data about the details of their software development

Read more »

Faster creation of binomial matrices

September 2, 2012
By

Scott Chamberlain blogged about faster creation of binomial matrices the other day, and even referred to our RcppArmadillo package as a possible solution (though claiming he didn't get it to work, tst tst -- that is what the rcpp-devel list is here to help with). The post also fell short of a good aggregated timing comparison for which we love...

Read more »

Discrete colors in ggplot

September 1, 2012
By
Discrete colors in ggplot

Have you ever wanted an easy way to generate continuous color pallettes for a discrete factor? I came across a question over on Stackoverflow about how add color to a ggplot figure. I often find myself with lot’s of categories that are discrete when I want a continuous color plot. This can be achieved by writing a quick...

Read more »