Learn R Programming

⚠️There's a newer version (3.1.5) of this package.Take me there.

forestplot (version 1.0)

Advanced Forest Plot Using 'grid' Graphics

Description

The plot allows for multiple confidence intervals per row, custom fonts for each text element, custom confidence intervals, text mixed with expressions, and more. The aim is to extend the use of forest plots beyond meta-analyses. This is a more general version of the original 'rmeta' package's forestplot function and relies heavily on the 'grid' package.

Copy Link

Version

Install

install.packages('forestplot')

Monthly Downloads

12,412

Version

1.0

License

GPL-2

Maintainer

Max Gordon

Last Published

December 29th, 2014

Functions in forestplot (1.0)

forestplot-package

The forest plot function, forestplot, is a more general version of the original rmeta-packages forestplot implementation. The aim is at using forest plots for more than just meta-analyses.
prPushMarginViewport

Pushes viewport with margins
prFpDrawLine

Draws a straight line
prFpFindWidestGrob

Finds the widest grob in the current list of grobs
fpDrawNormalCI

Draw standard confidence intervals
prFpGetLegendBoxPosition

Converts legend position to a standard position
prFpGetLabels

Gets the forestplot labels
prFpPrintLabels

Plots the labels
prFpConvertMultidimArray

Converts a 2D or 3D array to mean, lower, upper
prFpXrange

Gets the x-axis range
fpTxtGp

Get font settings for forestplot
forestplot

Draws a forest plot
prFpPrepareLegendMarker

Prepares the legend marker function
prFpGetConfintFnList

Get a function list
prFpValidateLabelList

Validate the forestplot label list
prFpGetLayoutVP

Get the main foresplot
prFpPrintXaxis

Plots the x-axis for forestplot
prGetTextGrobCex

Just a simple acces to the gp$cex parameter
prListRep

An alternativ to rep()
heightDetails.xaxis

Gets the height for an x-axis object
fpLegend

A function for the legend used in forestplot()
prFpGetLegendGrobs

Gets the forestplot legend grobs
prFpDrawLegend

Draw the forestplot legend
prFpFetchRowLabel

Get the label
prFpGetGraphTicksAndClips

A helper function to forestplot
getTicks

Ticks for plot axis
prGridPlotTitle

Adds a title to the plot
HRQoL

Regression coefficients and confidence intervals from HRQoL study
fpColors

A function for the color elements used in forestplot()