Reads the fitted values out of the GWmodel result, which stores them under
one of several names depending on version and entry point; the extraction
falls back through the local coefficients and the residuals when no direct
column is present. These are in-sample values (each observation
was inside its own bandwidth window), so summary() on a
gwr_fit reports an optimistic fit. Use cv_gwr for a
spatially blocked estimate.
Usage
# S3 method for class 'gwr_fit'
fitted(object, ...)See also
Other methods on a fitted model:
coef.bayesian_fit(),
coef.gwr_fit(),
coef.rf_fit(),
fitted.bayesian_fit(),
fitted.rf_fit(),
model_metrics(),
predict.bayesian_fit(),
predict.gwr_fit(),
predict.rf_fit(),
print.rf_fit(),
print.spatial_fit(),
residuals.bayesian_fit(),
residuals.gwr_fit(),
residuals.rf_fit(),
summary.spatial_fit()