View source: R/neighbouring_sf.R
select_dist_function | R Documentation |
Select a function to convert distance to weights if a function is provided, this function will be vectorized.
select_dist_function(dist_func = "inverse")
dist_func |
Could be a name in c('inverse', 'identity', 'squared inverse') or a function with only one parameter x |
A vectorized function used to convert distance into spatial weights
#This is an internal function, no example provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.