prFpGetLabels: Gets the forestplot labels

Description Usage Arguments Value

View source: R/forestplot2_helpers.R

Description

A function that gets all the labels

Usage

1
2
prFpGetLabels(label_type, labeltext, align, nc, nr, is.summary,
  fontfamily.summary, fontfamily.labelrow, col, cex)

Arguments

label_type

The type of text labels

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.

align

Alignment, should be equal to length(nc

nc

Number of columns

nr

Number of rows

is.summary

A vector indicating by TRUE/FALSE if the value is a summary value which means that it will have a different font-style.

fontfamily.summary

The fontfamily of the summary

fontfamily.labelrow

The fontfamily of a regular row

col

See fpColors

cex

The font adjustment

Value

list A list with length(nc) where each element contains a list of length(nr) elements with attributes width/height for each element and max_width/max_height for the total


raredd/Gmisc0 documentation built on May 27, 2019, 2:02 a.m.