Learn R Programming

ChemoSpecUtils (version 1.0.5)

.getExtremeCoords: getExtremeCoords

Description

Internal function. A utility function which returns a list of the extreme coordinates that are to be labelled.

Usage

.getExtremeCoords(data, names, tol)

Value

A list with elements x, y and l, giving the coordinates, and labels of the most extreme data points.

Arguments

data

A matrix containing the x values of the points/samples in the first column, and the y values in the second.

names

A character vector of sample names. Length must match the number of rows in data.

tol

.writeDoc_Tol()

Author

Bryan A. Hanson (DePauw University), Tejasvi Gupta.