plot.character: function for plotting text

Description Usage Arguments

View source: R/character_plot.R

Description

function for plotting text

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'character'
plot(
  x,
  y = NULL,
  col = "grey",
  border = "grey",
  pattern = NULL,
  pattern_col = "#ED4C4C",
  ...
)

Arguments

x

object of class rtext

y

either NULL or a data.frame with columns "start", "end", "line"

col

color for text

border

border color for text

pattern

regular expression to be searched in text and marked up in plot

pattern_col

color for text to be marked up via pattern or y option

...

further parameters passed through to text_locate


stringb documentation built on Jan. 26, 2021, 1:07 a.m.