datatextGrob {vit}R Documentation

Construct a datatext grob

Description

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

Usage

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.


[Package vit version 1.2.8 Index]