View source: R/forestplot_helpers.R
fpTxtGp | R Documentation |
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.
fpTxtGp(label, summary, xlab, title, ticks, legend, legend.title, cex = 1)
label |
The text labels (see details below) |
summary |
The summary labels (see details below) |
xlab |
The xlab text |
title |
The plot title |
ticks |
The ticks associated with the xlab |
legend |
The legend text |
legend.title |
The legend title |
cex |
The font size |
A list of the fpTxtGp
class
label
/summary
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 assumed
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.
fpTxtGp(label = gpar(fontfamily = "HersheySerif"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.