https://github.com/cran/spacetime
Tip revision: 890c1b290898e44b573799f5485f74d1dbd1d9f8 authored by Edzer Pebesma on 12 April 2011, 00:00:00 UTC
version 0.3-1
version 0.3-1
Tip revision: 890c1b2
Class-STFDF.R
setClass("STF", # space-time full
representation("ST"),
validity = function(object) {
return(TRUE)
}
)
setClass("STFDF", # space-time full data frame
representation("STF", data = "data.frame"),
validity = function(object) {
stopifnot(nrow(object@data) == length(object@sp) * nrow(object@time))
return(TRUE)
}
)