Description Usage Arguments Value
View source: R/addNonOverlappingTestLabelsOrPoints.R
Function used by addTextLabels()
1 | calculateLabelHeightsAndWidths(pointInfo, cex, heightPad, widthPad)
|
pointInfo |
A list storing the coordinates and labels of input points |
cex |
The number used to scale the size of the label and therefore its height and width |
heightPad |
Multiplyer for label height should added to label to be used to pad height |
widthPad |
Multiplyer for label width should added to label to be used to pad width |
Returns a list storing the coordinates, labels, and the heights and widths of the labels, for input points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.