residuals.geolm {gear} | R Documentation |
geolm
objectExtract the residuals for an object
produced by
the geolm
.
## S3 method for class 'geolm'
residuals(object, ...)
object |
An object produced by the
|
... |
Not currently implemented. |
The vector of residuals.
Joshua French
data = data.frame(y = rnorm(10), x1 = runif(10),
x2 = runif(10))
d = as.matrix(dist(data[,c("x1", "x2")]))
mod = cmod_man(v = exp(-d), evar = 1)
gearmod = geolm(y ~ x1, data = data,
coordnames = ~ x1 + x2, mod = mod)
# fitted values for original observations
residuals(gearmod)