search for: rclimate_consol_temp_anom_latest

Displaying 1 result from an estimated 1 matches for "rclimate_consol_temp_anom_latest".

2012 Dec 13
2
More efficient use of reshape?
...Below I have included a application of "reshape" that is rather clunky and I'm hoping someone can offer advice on how to use reshape (or melt/cast) more efficiently. #For this example I am using climate change data available on-line file <- (" http://processtrends.com/Files/RClimate_consol_temp_anom_latest.csv") clim.data <- read.csv(file, header=TRUE) library(lubridate) library(reshape) #I've been playing with the lubridate package a bit to work with dates, but as the climate dataset only uses year and month I have #added a "day" to each entry in the "yr_mn" column...