Computes the coefficients of the reduced major axis (RMA) of a set of
points.
Usage
RMA(x, y = NULL)
Value
a matrix with two rows and two columns named alpha and beta for the
intercepts and slopes, respectively.
Arguments
x, y
the coordinates of the points given in the usual way in R.
Author
Emmanuel Paradis
Details
The RMA is found by solving a polynomial equation of degree two, so
there are actually two solutions which are both returned. It is
usually straightforward to find the appropriate solution.