Skip to contents

Printing gwlest objects

Usage

# S3 method for class 'gwlest'
print(x, ...)

Arguments

x

an object of class gwlest

...

ellipsis for S3 method compatibility

Value

this function print key elements of a gwlest object

Examples


predictors <- matrix(data = rnorm(2500), 50,50)
y_value <- sample(1:1000, 50)
coords <- data.frame("Lat" = rnorm(50), "Long" = rnorm(50))
distance_matrix <- compute_distance_matrix(coords)

# \donttest{
myst.est <- gwl_bw_estimation(x.var = predictors, 
                              y.var = y_value,
                              dist.mat = distance_matrix,
                              adaptive = TRUE,
                              adptbwd.thresh = 0.5,
                              kernel = "bisquare",
                              alpha = 1,
                              progress = TRUE,
                              n=10,
                              nfolds = 5)
  
myst.est
#> Optimalbw :  44 
#> kernel :  bisquare 
#> adaptive :  TRUE 
 # }