Learn R Programming

spNetwork (version 0.4.4.6)

select_dist_function: 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")

Value

A vectorized function used to convert distance into spatial weights

Arguments

dist_func

Could be a name in c('inverse', 'identity', 'squared inverse') or a function with only one parameter x

Examples

Run this code
#This is an internal function, no example provided

Run the code above in your browser using DataLab