fixed error in subsetting by dates, added as.numeric for columns 3:9 (these had been previously entered via command line to obtain correct graphs, but erroneously ommitted from the scripts)