Learn R Programming

forestplot (version 1.10)

prPopulateList: Populate a list corresponding to matrix specs

Description

This function helps the forestplot to deal with different arguments for the confidence intervals.

Usage

prPopulateList(elmnt, no_rows, no_cols, missing_rows, is.summary, summary)

Arguments

elmnt

The element item/list/matrix. If a list it should be in the format [[row]][[col]], the function tries to handle this but in cases where the columns and rows are the same it will not know what is a column and what is a row.

no_rows

Number of rows

no_cols

Number of columns

missing_rows

The rows that don't have data

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

Value

list The function returns a list that has the format [[row]][[col]] where each element contains the corresponding element