Skip to content

Instantly share code, notes, and snippets.

@finbarrtimbers
finbarrtimbers / .block
Last active June 13, 2017 22:21 — forked from elktamer/.block
Hierarchical Edge Bundling
license: gpl-3.0
height: 960
border: no
@finbarrtimbers
finbarrtimbers / plot-acf-ma.r
Last active August 29, 2015 13:56 — forked from anonymous/plot-acf-ma.r
Ever wanted to plot the autocorrelation function of an ARIMA time series in R? Here's an easy way to do it.
# Creates a MA(3) model
ma.parameters <- c(0.5, 0.5, 0.2)
ma.model <- arima.sim(model=list(ma.parameters,n=100)
# Plots the autocorrelation function of the MA(3) model
acf(ma.model)
@finbarrtimbers
finbarrtimbers / index.html
Last active August 29, 2015 13:56 — forked from benjchristensen/index.html
Purity Test score vs. time spent as member of LCA
<html>
<head>
<title>Purity Test score vs. length of tenure</title>
<script src="http://mbostock.github.com/d3/d3.v2.js"></script>
<style>
/* tell the SVG path to be a thin blue line without any area fill */
path {
stroke: steelblue;
stroke-width: 1;
fill: none;
@finbarrtimbers
finbarrtimbers / index.html
Last active December 29, 2015 09:49 — forked from benjchristensen/index.html
Interactive demo of proposed LCA fee
<!--
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.