calculate_dist: Calculate the distance vector between a single point and each...

Description Usage Arguments

Description

Calculate the distance vector between a single point and each observation in the data frame

Usage

1
calculate_dist(data, point, dist_method)

Arguments

data

data frame

point

center point around which weights are calculated in data frame

dist_method

the distance measure to be used. This must be one of "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski". Any unambiguous substring can be given.


ddsjoberg/sjosmooth documentation built on May 14, 2019, 5:16 p.m.