Learn R Programming

forestplot (version 1.0)

prFpGetConfintFnList: Get a function list

Description

This function helps the forestplot to deal with multiple drawing functions for the confidence intervals.

Usage

prFpGetConfintFnList(fn, no_rows, no_cols)

Arguments

fn
The function 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

Value

  • list The function returns a list that has the format [[row]][[col]] where each element contains the function that you need to call using the as.call and eval functions: eval(as.call(list(fn[[row]][[col]], arg_1=1, arg_2=2)))