Skip to contents

Create an instance of GWDRConfig.

Usage

gwdr_config(
  bw = 0.618,
  adaptive = TRUE,
  kernel = c("gaussian", "exp", "bisquare", "tricube", "boxcar")
)

Arguments

bw

Bandwidth value.

adaptive

Whether the bandwidth value is adaptive or not.

kernel

Kernel function used.

Examples

gwdr_config(36, TRUE, "bisquare")
#> An object of class "GWDRConfig"
#> Slot "bw":
#> [1] 36
#> 
#> Slot "adaptive":
#> [1] TRUE
#> 
#> Slot "kernel":
#> [1] "bisquare"
#>