select_dist_function {spNetwork} | R Documentation |
Select the distance to weight function
Description
Select a function to convert distance to weights if a function is provided, this function will be vectorized.
Usage
select_dist_function(dist_func = "inverse")
Arguments
dist_func |
Could be a name in c('inverse', 'identity', 'squared inverse') or a function with only one parameter x |
Value
A vectorized function used to convert distance into spatial weights
Examples
#This is an internal function, no example provided
[Package spNetwork version 0.4.4.6 Index]