print.gwlfit: Printing gwlfit objects

View source: R/print.gwlfit.R

print.gwlfitR Documentation

Printing gwlfit objects

Description

Printing gwlfit objects

Usage

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

Arguments

x

a gwlfit object

...

ellipsis for S3 method compatibility

Value

this function print key elements of a gwlfit 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)

my.gwl.fit <- gwl_fit(bw = 20,
                      x.var = predictors, 
                      y.var = y_value,
                      kernel = "bisquare",
                      dist.mat = distance_matrix, 
                      alpha = 1, 
                      adaptive = TRUE, 
                      progress = TRUE,
                      nfolds = 5)

my.gwl.fit



GWlasso documentation built on April 3, 2025, 7:08 p.m.