generatePointsAlongPolygon: Places set number of points along the edges of a polygon.

Description Usage Arguments Value

View source: R/radarChart.R

Description

Function used by calculateAxesCoordinatesAtEachLevel() to create possible locations for the end of the levels axes

Usage

1
generatePointsAlongPolygon(coords, nPoints)

Arguments

coords

A data.frame of X and Y coordinates for end points of each skills axes

nPoints

The number of points to position on polygon, must be at least twice the number of skills axes

Value

Returns a data.frame of the X and Y coordinates of points along polygon edges. Note includes polygon coordinates.


JosephCrispell/plotteR documentation built on June 6, 2021, 7:24 p.m.