Learn R Programming

forestplot (version 1.8)

fpTxtGp: Get font settings for forestplot

Description

This function generates all the gpar() elements for the different text elements within the graph. Elements not specified inherit their default settings from the label argument.

Usage

fpTxtGp(label, summary, xlab, title, ticks, legend, legend.title,
  cex = 1)

Value

A list of the fpTxtGp class

List arguments for <code>label</code>/<code>summary</code>

You can provide a list of elements for the label and summary in order to specify separate elements. If you provide a list in one dimension the gpar elements are assummed to follow the columns. If you provide a list of 2 dimensions the structure assumes is list[[row]][[column]] and the number of elements should correspond to the number of labels for the label argument, i.e. without the rows marked as summary elements. The same goes for summary arguments.

Examples

Run this code
# NOT RUN {
fpTxtGp(label=gpar(fontfamily="HersheySerif"))
# }

Run the code above in your browser using DataLab