kring_smooth: K-ring smoothing

View source: R/h3_utils.R

kring_smoothR Documentation

K-ring smoothing

Description

K-ring smoothing

Usage

kring_smooth(df, hex, metric, k = 1, only_na = TRUE)

Arguments

df

data with h3 column

hex

character name of the h3 column

metric

character name of the metric column (continous variable)

k

ring's radius

only_na

fill missing values only, otherwise smooth all


kklot/ktools documentation built on Aug. 13, 2024, 7:08 p.m.