Displaying 1 result from an estimated 1 matches for "resalliance".
2009 Jan 19
1
maptools, sunriset, POSIX timezones
...0, 1, 1, 10, 0, 0, tz="GMT") + 10
> time.1 == time.2
[1] TRUE
they appear to be the same.
I wonder if I am either missing something important, doing something
improperly, or if there is a small bug somewhere.
I'm using windows Vista and R 2.8.1
Thanks,
Phil Taylor
ptaylor at resalliance.org
> require(maptools)
> Sys.setenv(TZ = "GMT")
> location <- matrix(c(-80.1,42.5), nrow=1)
> sunriset(location, ISOdatetime(1970, 1, 1, 10, 0, 0, tz="GMT"),
direction="sunset", POSIXct.out=TRUE)
day_frac time
1 0.915226 1970-01...