plot_text: Plot a text

View source: R/tools.R

plot_textR Documentation

Plot a text

Description

Plots a text (base plot) and let you choose text-size and color

Usage

plot_text(text = "hello world", size = 1.2, color = "black", ggplot = FALSE)

Arguments

text

Text as string

size

Text-size

color

Text-color

ggplot

return a ggplot-object? (or base plot)

Value

Plot

Examples

plot_text("hello", size = 2, color = "red")

explore documentation built on Sept. 11, 2024, 7:40 p.m.