calculateAxesCoordinatesAtEachLevel: Define the coordinates for the radar level labels

Description Usage Arguments Value

View source: R/radarChart.R

Description

Function used by radar() to calculate locations of radar level labels based on angle

Usage

1
calculateAxesCoordinatesAtEachLevel(axesInfo, nLevels, circles, angle)

Arguments

axesInfo

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

nLevels

An integer for the number of radar levels

circles

A boolean value reporting whether radar chart uses circles or polygons for levels

angle

A numeric value representing the angle for the radar levels axes

Value

Returns a data.frame of the X and Y coordinates of level label coordinates for axes.


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