Skip to content

Instantly share code, notes, and snippets.

View rhiever's full-sized avatar

Randy Olson rhiever

View GitHub Profile
@rhiever
rhiever / Rmagic demo
Created September 22, 2012 02:37
Rmagic demo
{
"metadata": {
"name": "Introduction to Linear Models"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@rhiever
rhiever / Extracting the multiscale backbone of complex weighted networks.ipynb
Last active December 27, 2015 01:09
Extracting the multiscale backbone of complex weighted networks
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiever
rhiever / Avida data munging.ipynb
Created November 10, 2013 18:23
Avida data munging in Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiever
rhiever / Saving data to a text file in Python.ipynb
Created November 16, 2013 04:46
Saving data to a text file in Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiever
rhiever / TSStickleback.py
Created November 16, 2013 06:29
TSStickleback.py
from numpy.random import normal
class TSStickleback:
def __init__(self):
self.redness = normal(3, 2)
@rhiever
rhiever / 95% confidence intervals.ipynb
Created November 16, 2013 06:30
95% confidence intervals.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiever
rhiever / reddit interest correlations.ipynb
Last active December 28, 2015 14:29
reddit interest correlations.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiever
rhiever / Plot average and SEM of multiple data files.ipynb
Created November 20, 2013 22:31
Plot average and SEM of multiple data files
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiever
rhiever / Quick and dirty web scraping with Python.ipynb
Created January 14, 2014 01:41
Quick and dirty web scraping with Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Author: Randal S. Olson (randalolson.com / @randal_olson)
# Uses Tableau's Tableau20 color scheme
figure.figsize: 12, 7
figure.edgecolor: white
figure.facecolor: white
lines.linewidth: 2.5
lines.markeredgewidth: 0
lines.markersize: 10