Skip to contents

Replicate GWDR config

Usage

# S4 method for GWDRConfig
rep(x, ...)

# S4 method for GWDRConfig,numeric
rep.int(x, times = 1)

Arguments

x

A GWDRConfig object.

...

Additional arguments.

times

Replication times.

Value

A list of GWDRConfig objects.

Examples

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