Displaying 1 result from an estimated 1 matches for "w01_10temp".
2011 Jun 28
0
renaming multiple columns + interpolating temperature series
...p],sep="")
assign(gsub("[.]ASC$","temp",filenames[all_temp]),read.delim2(filenames[all_temp],
fileEncoding="ISO-8859-15", skip = 4))
}
Now I want to change the column names on the fly within the above loop. How?
I only found out for one file:
colnames(w01_10temp) <- c("date", "time", "temp", "na")
I want then to lineary interpolate "date", "time" and "temp" from the
original 5 to 1 second interval for all the files, like:
old:
date time temp na
1 22.05.11 16:00:0...