xy2md: Convert (x, y) to (a = mean, m = difference) coordinates

Description Usage Arguments Value

View source: R/BRD_V3.R

Description

compute a = (y + x)/2, and m = (y - x)

Usage

1
xy2md(x, y = NULL)

Arguments

x

numeric vector, or a matrix with 2 columns or a list containing two vectors.

y

numeric vector.

Value

xy2md returns a list or matrix with (a = mean, m = difference) values.


benja0x40/Tightrope documentation built on Jan. 14, 2019, 6:50 p.m.