Skip to content

Instantly share code, notes, and snippets.

@geotheory
geotheory / HiveR_demo.R
Created November 25, 2013 09:27
A HiveR package demo using the ggplot2 diamonds dataset
require(HiveR)
require(plyr)
require(colorspace)
require(classInt)
d = ggplot2::diamonds
d = d[,c(1:4,7)]
head(d); dim(d)
# separate carat-size data into equal interval groups
@SachaEpskamp
SachaEpskamp / global.R
Last active October 22, 2021 08:55
A general shiny app to import and export data to R. Note that this can be used as a starting point for any app that requires data to be loaded into Shiny.
library("shiny")
library("foreign")