Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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))) |