https://github.com/cran/spacetime
Raw File
Tip revision: 404b49a90640d3931093d071b98e4534f4adb3a4 authored by Edzer Pebesma on 25 September 2012, 08:22:32 UTC
version 0.8-0
Tip revision: 404b49a
Class-STLDF.R
#setClass("STL", # space-time line
  #representation("ST", endTime = "POSIXt"),
  #validity = function(object) {
    #stopifnot(nrow(object@time) == length(object@sp))
    #stopifnot(nrow(object@time) == nrow(object@endTime))
    #return(TRUE)
  #}
#)
#
#setClass("STLDF", # space-time irregular data frame
  #representation("STL", data = "data.frame"),
  #validity = function(object) {
    #n = nrow(object@data)
    #stopifnot(n == length(object@sp))
	#stopifnot(n == nrow(object@time))
    #.checkAttrIsUnique(object@sp, object@time, object@data)
    #return(TRUE)
  #}
#)
back to top