type_text | R Documentation |
Type function for adding text annotations to a plot. This function allows you to draw text at specified (x,y) coordinates.
type_text(
labels,
adj = NULL,
pos = NULL,
offset = 0.5,
vfont = NULL,
font = NULL
)
labels |
Character vector of length 1 or of the same length as the number of x,y coordinates. |
adj |
one or two values in |
pos |
a position specifier for the text. If specified this
overrides any |
offset |
when |
vfont |
|
font |
Font to be used, following |
tinyplot(mpg ~ hp | factor(cyl),
data = mtcars,
type = type_text(
labels = row.names(mtcars),
font = 2,
adj = 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.