forestplot (version 1.9)

prFpFetchRowLabel: Get the label

Description

A function used for fetching the text or expression from the supplied labeltext.

Usage

prFpFetchRowLabel(label_type, labeltext, i, j)

Arguments

label_type

The type of label

labeltext

A list, matrix, vector or expression with the names of each row. The list should be wrapped in m x n number to resemble a matrix: list(list("rowname 1 col 1", "rowname 2 col 1"), list("r1c2", expression(beta)). You can also provide a matrix although this cannot have expressions by design: matrix(c("rowname 1 col 1", "rowname 2 col 1", "r1c2", "beta"), ncol=2). Use NA:s for blank spaces and if you provide a full column with NA then that column is a empty column that adds some space. Note: If you do not provide the mean/lower/upper arguments the function expects the label text to be a matrix containing the labeltext in the rownames and then columns for mean, lower, and upper.

i

The row

j

The column

Value

An expression or a text