View source: R/ggplot_text_lines.R
ggplot_text_lines | R Documentation |
Plot Text Only
ggplot_text_lines(
x,
max_rows = max(10, length(x)),
size = 3,
max_chars = 170,
margins_cm = c(0, 0, 0, 0)
)
x |
vector of character representing the rows of text to be plotted from top to bottom |
max_rows |
number of rows to be prepared in the plot area. Increase/decrease this number to decrease/increase the line spacing |
size |
text size. Default: 3 |
max_chars |
maximum number of characters to be used in each row.
Longer lines that shortened to this number using
|
margins_cm |
vector of four numerics giving the bottom, left, top and
top margins in cm, respectively. Default: |
ggplot_text_lines(paste(c("first", "second", "third"), "row"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.