Learn R Programming

henna (version 0.3.4)

quadBorders: Find the coordinates of the points establishing the four divisions of the hull

Description

This function finds the coordinates of the points establishing the four divisions of the hull

Usage

quadBorders(pointsDF, xInt, yInt, vCoords, hCoords)

Value

A data frame with 2 columns representing the 12 points (not unique) determining the boundaries of the hull divisions.

Arguments

pointsDF

A data frame with the x and y coordinates of the points.

xInt

The coordinate where the vertical line intersects the x axis.

yInt

The coordinate where the horizontal line intersects the y axis.

vCoords

The y coordinates of the two points where the vertical line intersects the convex hull.

hCoords

The x coordinates of the two points where the horizontal line intersects the convex hull.