perpendicular.lines {latticedl}R Documentation

perpendicular lines

Description

Draw a line between the centers of each cluster, then draw a perpendicular line for each cluster that goes through its center. For each cluster, return the point the lies furthest out along this line.

Usage

perpendicular.lines(d, debug = FALSE, ...)

Arguments

d Data frame with groups x y.
debug If TRUE will draw points at the center of each cluster and some lines that show how the points returned were chosen.
... ignored.

Value

Data frame with groups x y, giving the point for each cluster which is the furthest out along the line drawn through its center.

Author(s)

Toby Dylan Hocking <toby.hocking@inria.fr>


[Package latticedl version 1.0 Index]