distance_calc: distance calculation

View source: R/RcppExports.R

distance_calcR Documentation

distance calculation

Description

distance_calc calculates the euclidean distance between two cell references.

Usage

distance_calc(x1, y1, x2, y2)

Arguments

x1

is an integar for the starting x position

y1

is an integar for the starting y position

x2

is an integar for the end x position

y2

is an integar for the end y position

Value

is a distance between the two cells

Examples

distance_calc(2, 3, 5, 7) 


pdolder/MixFishSim documentation built on Oct. 17, 2023, 4:25 p.m.