Skip to content

Instantly share code, notes, and snippets.

View ianfmc's full-sized avatar

Ian McCallum ianfmc

  • j:m Design
  • San Diego, CA
View GitHub Profile
@ianfmc
ianfmc / 0_reuse_code.js
Created June 26, 2017 04:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
library(plotly)
library(quantmod)
getSymbols("AAPL",src='yahoo')
# basic example of ohlc charts
df <- data.frame(Date=index(AAPL),coredata(AAPL))
df <- tail(df, 30)
p <- df %>%