prPopulateList: Populate a list corresponding to matrix specs

View source: R/private.R

prPopulateListR Documentation

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_depth, 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_depth

Number of outcomes per row, i.e. depth

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


forestplot documentation built on Aug. 26, 2023, 5:07 p.m.