Displaying 2 results from an estimated 2 matches for "foodate".
Did you mean:
foodata
2008 Mar 20
3
Problem with diff(strptime(...
...[1] NA 0.9993155 1.0020534 0.8323066 1.0841889 0.9993155
1.1690623
[8] 0.8131417 2.0177960 2.8390372
There have been a few messages about this problem, but apparently no
solution. The problem can be seen with these examples (I haven't
included the real data as it is not mine):
foodate<-c("1/7/1991","1/8/1991","1/8/1991","3/8/1991")
as.numeric(diff(strptime(foodate,"%d/%m/%Y"))/365.25)
[1] 7333.0595 0.0000 473.1006
foodate<-factor(c("1/7/1991","1/8/1991","1/8/1991","3/8/1991"))
as...
2018 Mar 18
0
rdwd package error: invalid file argument raised by readDWD
Hi:
I tried to download germany' historical weather data with rdwd package.
However, when I tried to read downloaded data (1080 txt file in total) with
readDWD function, but R raised an error down below:
library(rdwd)
ftpURL <- selectDWD(name = "", exactmatch = TRUE,
res="monthly",
var="kl", per="historical",