Skip to content

Instantly share code, notes, and snippets.


James Curley jalapic

View GitHub Profile
bhoung / trueskill_ex2.r
Last active Sep 30, 2021
Example 2. Running trueskill algorithm on a tennis tournament.
View trueskill_ex2.r
# This second example runs Trueskill on a tennis tournament, the Australian Open.
# Note that actual computation is commented out as it takes about ~40 seconds to
# update skill ratings over 127 matches.
# Data format of ausopen2012 is: Player, Opponent, Margin, Round, WRank, LRank
# create match_id in order to reshape
nowherenearithaca /
Last active Apr 11, 2016
Making a Heat Map Legend with D3 - a Simple Example

This is an example of creating what could be a legend for a heat map, demonstrating the simple use of a data-driven linear gradient with D3.

yannabraham / beanplots.R
Created Jul 16, 2012
ggplot2 BeanPlots
View beanplots.R
## reproduce the figures from using ggplot2
## parameters
## Figure 1
d <- rnorm(50)