datatextGrob: Construct a datatext grob

Description Usage Arguments

View source: R/grob-datatext.R

Description

datatextGrob constructs text of a vector of data. datatextGrobs inherit the class "datatext".

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
datatextGrob(
  data,
  title = NULL,
  x = 0.5,
  max = 50,
  name = NULL,
  gp = NULL,
  vp = NULL,
  dp = 2
)

Arguments

data

a numeric or character vector of data.

title

a character string to provide the title, usually the name of the data vector.

name

a name for the grob to be constructed.

gp

graphical parameters for the text, constructed with gpar().

vp

a default viewport to be used when drawing the grob.


iNZightVIT/vit documentation built on Aug. 3, 2020, 4:11 a.m.