Learn R Programming

forestplot (version 3.0.0)

prepLabelText: Prepares label text

Description

Prepares an object that contains the number of columns and rows

Usage

prepLabelText(labeltext, nr)

# S3 method for forestplot_labeltext [(x, i, j, ...)

Value

Returns a forestplot_labeltext object with attributes:

  • no_cols

  • no_rows

  • widthcolumn

  • label_type

Arguments

labeltext

The label text input, either expression, list vector or matrix

nr

The number of rows

x

A forestplot_labeltext object

i

The row

j

The column

...

Passed on to the fn.ci_norm and fn.ci_sum arguments

Functions

  • [: Pick the value that corresponds to the row and column. Returns expression, call, or text.