Skip to content

Instantly share code, notes, and snippets.

View jalapic's full-sized avatar

James Curley jalapic

View GitHub Profile
### Make Win / Winless Streaks plot
#Load packages
library(engsoccerdata)
library(dplyr)
library(ggplot2)
engsoccerdata2$Date <- as.Date(engsoccerdata2$Date, format="%Y-%m-%d") #make Date format
#Get MUFC games:
@jalapic
jalapic / gist:8c6c3fd87a039a093926
Created November 11, 2015 21:37
model output to word
### Getting model output into Word (if you really have to)
# This assumes that in your working directory you already have a word document called rtf.doc
library(rtf) # puts data into RTF format
fit <- summary(lm(mpg ~ cyl + hp, data=mtcars))
@jalapic
jalapic / README.md
Last active November 11, 2015 02:52
circular heatmap
@jalapic
jalapic / README.md
Created November 10, 2015 18:30
D3.EZ : Reusable Circular Heat Chart
@jalapic
jalapic / README.md
Created November 10, 2015 18:11
d3.js wiki visualization
@jalapic
jalapic / README.md
Last active November 10, 2015 18:09
Concentric rings with pie layout
@jalapic
jalapic / README.md
Created November 9, 2015 17:39
concentric circles
@jalapic
jalapic / README.md
Created November 8, 2015 23:40
Networks - Graphs 7
@jalapic
jalapic / README.md
Created November 8, 2015 23:37
Networks - Graphs 6
@jalapic
jalapic / README.md
Created November 8, 2015 23:27
Networks - Graphs 5