make_text | R Documentation |
Convenvience function for a showSelected plot label.
make_text(data, x, y, label.var, format = NULL)
data |
data.frame of relevant data |
x |
x coordinate of label position |
y |
y coordinate of label position |
label.var |
variable matching showSelected, used to obtain label value |
format |
String format for label. Use %d, %f, etc. to insert relevant label.var value. |
a geom_text layer.
Toby Dylan Hocking
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.