label_placer_simple | R Documentation |
The simple label placer processes separate isolines independently and places
labels for each line using a placer function that does the actual placement work.
This label placer is not meant to be used by end users, but rather facilitates the
development of new label placers, such as label_placer_minmax()
.
label_placer_simple(lines, labels_data, placer_fun)
lines |
Isolines object for which labels should be placed. |
labels_data |
A data frame containing information about which labels should be placed. |
placer_fun |
A function that takes an individual isoline plus its associated
break id as input and returns a data frame specifying label positions. The data
frame should have three columns called |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.