Skip to content

Instantly share code, notes, and snippets.

@mgtagle
mgtagle / plot_summary_example.R
Created October 6, 2015 20:02 — forked from brews/plot_summary_example.R
Plot summary for firehistory data in R
source("firehistory.R")
d <- read.fhx("17P.fhx")
# Make a copy of the data we read-in in case we fuck-up.
d.new <- d
# Reverse the level ordering for the type factor -- the plotting looks better.
d.new$rings$type <- factor(d$rings$type, levels = rev(levels(d$rings$type)))
@mgtagle
mgtagle / fire_stacker.R
Created October 6, 2015 20:03 — forked from brews/fire_stacker.R
Combine multiple FHX files for Ellis.
#! /usr/bin/env Rscript
# 2015-02-25 S. B. Malevich
# Combine all FHX files in the current working directory and try to output it
# as a single FHX file (`OUTFILE`). You need to have "firehistory.R" in the
# same directory, too.
ARGS <- commandArgs(TRUE)
source("firehistory.R")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.