## Data
data(southkorea_covid19)
## GSS algorithm
gss <- Golden(data = southkorea_covid19[1:122, ],
formula = n_covid1~diff_sd,
xvarinf = NULL, weight = NULL, lat = "y", long = "x",
offset = NULL, model = "poisson", method = "fixed_g",
bandwidth = "cv", globalmin = FALSE, distancekm = FALSE,
force=FALSE)
## Bandwidth
gss$min_bandwidth
## Iterations
gss$iterations
Run the code above in your browser using DataLab