confintGrob: Construct a ci grob

Description Usage Arguments

View source: R/grob-ci.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
confintGrob(
  ci,
  at = unit(0.15, "npc"),
  height = unit(0.01, "npc"),
  to = unit(-2, "lines"),
  col = "red",
  bar = TRUE,
  cilabs = ci,
  fix.label.pos = c(FALSE, FALSE),
  name = NULL,
  gp = NULL,
  vp = NULL
)

Arguments

ci

the confidence interval to be plotted, given by a vector of length 2.

at

a unit object giving the y-axis position to plot the confidence interval.

to

a unit object giving the y-axis positions of where the arrows are to point.

col

the colour to plot the confidence interval.

bar

a logical value determining whether or not a bar is plotted.


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