# NOT RUN {
require( spData )
data( boston )
coords <- boston.c[, c("LON", "LAT") ]
y <- log(boston.c[,"MEDV"])
x <- boston.c[, c("CRIM", "ZN", "INDUS", "CHAS", "AGE")]
res <- scgwr( coords = coords, y = y, x)
res
# }
Run the code above in your browser using DataLab