make_orthogonal_segments: Make orthogonal segments

View source: R/m.R

make_orthogonal_segmentsR Documentation

Make orthogonal segments

Description

Make orthogonal segments

Usage

make_orthogonal_segments(sp, ep, binwidth, out_length)

Arguments

sp, ep

Numeric vectors of x- and y-coordinates that correspond to the start- and end point of the vector for which the orthogonal segment is computed.

out_length

The length of the orthogonal vector.

Value

A list of two slots named sp and ep. Both contain numeric vectors of length two that correspond to the start and end point of the orthogonal vector.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.