Learn R Programming

mgwrsar (version 1.1)

atds_gwr: atds_gwr Top-Down Scaling approach of GWR

Description

This function performs a Geographically Weighted Regression (GWR) using a top-down scaling approach, adjusting GWR coefficients with a progressively decreasing bandwidth as long as the AICc criterion improves.

Usage

atds_gwr(formula,data,coords,kernels='triangle',fixed_vars=NULL,
control_tds=list(nns=30),control=list(adaptive=TRUE,verbose=FALSE))

Arguments

formula

a formula.

data

a dataframe.

coords

default NULL, a dataframe or a matrix with coordinates

kernels

A vector containing the kernel types. Possible types: triangle ("triangle"), bisquare ("bisq"), tricube ("tcub"), epanechnikov ("epane").

fixed_vars

a vector with the names of spatiallay constant coefficient for mixed model. All other variables present in formula are supposed to be spatially varying. If empty or NULL (default), all variables in formula are supposed to be spatially varying.

control_tds

list of extra control arguments for tds_mgwr model - see tds_gwr Help

control

list of extra control arguments for MGWRSAR wrapper - see MGWRSAR Help

See Also

tds_mgwr, gwr_multiscale, MGWRSAR, bandwidths_mgwrsar, summary_mgwrsar.