You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error below is thrown at runtime when attempting to generate a variogram on an STFDF data frame.
This only occurred after updated my R packages - which were pretty old but this code did work previously. The specific example is code taken from "Spatio-Temporal Statistics with R" which has a companion package "STRbook" (https://github.com/andrewzm/STRbook)
To reproduce first install package STRbook (just to get this spatial object) and then execute:
# obs from July 1993 only
data("STObj3", package="STRbook")
STObj4 <- STObj3[, "1993-07-01::1993-07-31"]
# note gstat::variogram actually calculates sample semivariogram
vv <- variogram(object = z ~ 1 + lat, # fixed effect component
+ data = STObj4,
+ width = 80, # spatial bin of 80 km
+ cutoff = 1000, # only consider points < 1000km apart
+ tlags = 0.01:6.01 # 0 days to 6 days
+ )
| | 0%
Error in variogramST(formula = object, locations = locations, data = data, : object 'ret' not found
The text was updated successfully, but these errors were encountered:
Hi,
The error below is thrown at runtime when attempting to generate a variogram on an STFDF data frame.
This only occurred after updated my R packages - which were pretty old but this code did work previously. The specific example is code taken from "Spatio-Temporal Statistics with R" which has a companion package "STRbook" (https://github.com/andrewzm/STRbook)
To reproduce first install package STRbook (just to get this spatial object) and then execute:
The text was updated successfully, but these errors were encountered: