xy2ab: Parametrizes the piecewise linear trace given by the input....

View source: R/xy2ab.R

xy2abR Documentation

Parametrizes the piecewise linear trace given by the input. For vertical lines, $Inf$ is returned.

Description

Parametrizes the piecewise linear trace given by the input. For vertical lines, $Inf$ is returned.

Usage

xy2ab(x, y = NULL, ang.out = FALSE)

Arguments

x

and 'y' are the x-coordinates and y-coordinates of the input trace, given as separate vectors 'x' and 'y', or as a list or matrix 'x' holding both the x-coordinates and the y-coordinates, or if y==NULL 'x' is interpreted as 'y' and x=seq_along(x).

ang.out

is TRUE if angles are to be returned instead of slope.


arnejohannesholmin/echoIBM documentation built on April 14, 2024, 11:37 p.m.