Skip to contents

Generic method for model auto-selection.

Usage

step(object, ...)

# S3 method for default
step(object, ...)

step_view_circle(object, ...)

step_view_value(object, ...)

step_view_diff(object, ymin = -50, ...)

# S3 method for modelselcritl
plot(x, y, ..., view = c("circle", "value", "diff"), ymin, main)

Arguments

object

Geographically Weighted Model

...

Additional parameters passing to plot().

ymin

The lower bound of y-axis.

x

An object of modelselcritl class.

y

Ignored.

view

Name of view.

main

The main title.

Functions

  • step_view_circle(): Create circle view for model combinations in model selection.

  • step_view_value(): Create scatter plot for model selection criterion values

  • step_view_diff(): Create scatter plot for differences of model selection criterion values

  • plot(modelselcritl): Plot model selection criterions.

Examples

data(LondonHP)
m <- gwr_basic(
  PURCHASE ~ FLOORSZ + UNEMPLOY + PROF + BATH2 + BEDS2 +
      GARAGE1 + TYPEDETCH + TPSEMIDTCH + TYPETRRD + TYPEBNGLW +
      BLDPWW1 +BLDPOSTW + BLD60S + BLD70S + BLD80S + CENTHEAT,
  LondonHP, bw = "AIC", adaptive = TRUE
)
m <- step(m, threshold = 10, bw = Inf, optim_bw = "AIC")
plot(m$step)

plot(m$step, view = "value")

plot(m$step, view = "diff")