formula:regression model formula as in lm,表示R语言里面进行回归的方程式 data:model data frame as in lm, or may be a SpatialPointsDataFrame or SpatialPolygonsDataFrame object as defined in package sp 指定数据 coords: matrix of coordinates of points representing the spatial positions of the observati...
(w.i) dropped to avoid forming n by n matrix # bug report: Ilka Afonso Reis, July 2005 # local R-squared as explained by Tomoki Nakaya, 090624 (in GWR4) # differs from local weighted regression R-squared if (!is.null(yhat)) { RSS <- sum(w.i * (y - yhat)^2) yss <- sum...
formula:regression model formula as in lm,表示R语言里面进行回归的方程式 data:model data frame as in lm, or may be a SpatialPointsDataFrame or SpatialPolygonsDataFrame object as defined in package sp 指定数据 coords: matrix of coordinates of points representing the spatial positions of the observati...