still no answer? I´ll try to be more precise and will ask on stack-overflow
too...
I´ve got multiple data.frames of gps- and temperature-data within a list.
One data.frame looks like:
GPS:
date time x.lat x.lon
1 22.05.11 13:50:37 53.57908 10.034599
2
Wow that worked! Thank you very much.
Next time I will try this number generator thing. Thanks for the hint. I had
no idea, that this might have caused the silence. Thomas.
--
View this message in context:
http://r.789695.n4.nabble.com/merging-lists-within-lists-via-time-stamp-tp3712631p3729785.h
Greetings R Users,
I´m new to R but at least managed to read in multiple files:
filenames <- list.files(path=getwd())
numfiles <- length(filenames)
for (all_temp in c(1:numfiles)) {
filenames[all_temp] <- paste(filenames[all_temp],sep="")
assign(gsub("[.]ASC$","temp",filenames[all_temp]),r
Hi there,
I´ve got a datatable in R which I try to interpolate with this and get the
Error below:
> new$temp<- approx(w03_11temp$temp, n = (nrow(w03_11temp)*5))$y
Error in new$temp <- approx(w03_11temp$temp, n = (nrow(w03_11temp) * 5))$y :
Object of type 'closure' not registered
Any idea?? T
Thanks for the hints. Eitherway I´ve found another solution now:
w03_11temp<-read.delim2("w03_11.ASC", fileEncoding="ISO-8859-15", skip = 4)
colnames(w03_11temp) <- c("date", "time", "temp")
library(zoo)
w03_11temp_z <- zoo(w03_11temp$temp,
as.POSIXct(paste(w03_11temp$date, w03_11temp$time),
I appologize, I should have mentioned that by myself, but was in such a
hurry... - I myself would never have found a solution Thanks again!
--
View this message in context:
http://r.789695.n4.nabble.com/time-series-interpolation-tp3633193p3635733.html
Sent from the R help mailing list archive
After importing multiple files to data.frames in R, I want to rename all
their columns and do other operations with them. The data.frame names are
not continuous like 1, 3, 4, 6.
I could not find a way of creating a list of the data.frames and loop this
and ended up putting them into a list first:
>From multiple data.frames I created two lists, one with temperature, one with
gps data. With your help and lapply I managed to interpolate the timestamps
of gps and temperature data. Now I want to merge/join both lists via the
time-stamp, taking only times, where both lists have data.
For the sin
8 matches
Mail list logo