calc_dist: calc_dist

View source: R/utils.R

calc_distR Documentation

calc_dist

Description

Calculate the euclidean distance between two points

Usage

calc_dist(center_x = 0, center_y = 0, point_x, point_y)

Arguments

center_x

numeric the x coordinate of the center. Default to 0

center_y

numeric the y coordinate of the center. Default to 0

point_x

numeric the x coordinate of the point

point_y

numeric the y coordinate of the point

Value

numeric the euclidean distance


shared-research/face-mask-gew documentation built on June 4, 2022, 1:19 p.m.