Displaying 1 result from an estimated 1 matches for "fekete_long_".
2009 Mar 31
1
Reshape: 'melt' numerous objects
...))
And for the actual loop in which the files are melted, I tried:
for (i in 1:120) {
Fekete_table_temp <- get(paste("Fekete_", index$year[i], index$month[i], sep=''))
Fekete_table_long <- melt(Fekete_table_temp, id.var="Latitude", na.rm=TRUE)
assign(paste("Fekete_long_", index$year[i], index$month[i], sep=''), Fekete_table_long)
names(paste("Fekete_long_", index$year[i], index$month[i], sep=''), c("Latitude", "Longitude", paste("Obs",index$year[i], index$month[i], sep=''))
}
However, t...