https://github.com/cran/spacetime
Tip revision: b2c8cd19a2db64171a546f15c5adb8b71e199197 authored by Edzer Pebesma on 02 September 2013, 17:53:54 UTC
version 1.0-6
version 1.0-6
Tip revision: b2c8cd1
Class-STFDF.R
setClass("STF", # space-time full
contains = "ST",
validity = function(object) {
return(TRUE)
}
)
setClass("STFDF", # space-time full data frame
contains = "STF",
slots = c(data = "data.frame"),
validity = function(object) {
stopifnot(nrow(object@data) == length(object@sp) * nrow(object@time))
.checkAttrIsUnique(object@sp, object@time, object@data)
return(TRUE)
}
)