Skip to content

time slot in space-time sparse data frame (spacetime package)

2 messages · Jochen Albrecht, Edzer Pebesma

#
Hi Jochen, thanks for your useful questions;
On 07/25/2011 06:54 PM, Jochen Albrecht wrote:
Where exactly had you expected more information?
This is indeed a bit cryptic for non-R-developers, and we try to catch
these things and provide sth more useful. It will work in the next
spacetime release, but for now you can try, if time is your times array:

time = xts(1:length(time), time)

and pass that to STSDF (this worked, by mistake, only for STFDF and STIDF)
What exactly didn't work? If you force irregular data into a grid, it
will, afaics, simply be VERY sparse...; pushed that into a full grid, it
will be VERY memory demanding.
There is no "will I be able", there is only a "how will I", and the more
relevant question whether it will save you time, or cost you time,
relative to plan b -- and what plan b involves...

Are the time instances you mention aligned, or can you align them
yourself? Have you seen the vignette on proxying PostGIS tables with
spacetime objects?
http://cran.r-project.org/web/packages/spacetime/vignettes/stpg.pdf

Output of your analyses, or better, examples that we can reproduce make
it easier to provide helpful answers.

With best regards,