forestplot: Advanced Forest Plot Using 'grid' Graphics

A forest plot that 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.

AuthorMax Gordon [aut, cre], Thomas Lumley [aut, ctb]
Date of publication2017-01-07 17:45:04
MaintainerMax Gordon <max@gforge.se>
LicenseGPL-2
Version1.7
http://gforge.se/packages/

View on CRAN

Man pages

forestplot: Draws a forest plot

forestplot-package: Package description

fpColors: A function for the color elements used in forestplot()

fpDrawCI: Draw standard confidence intervals

fpLegend: A function for the legend used in forestplot()

fpTxtGp: Get font settings for forestplot

getTicks: Ticks for plot axis

heightDetails.xaxis: Gets the height for an x-axis object

HRQoL: Regression coefficients and confidence intervals from HRQoL...

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

prFpDrawLegend: Draw the forestplot legend

prFpDrawLine: Draws a straight line

prFpDrawLines: Draws the horizontal lines

prFpFetchRowLabel: Get the label

prFpFindWidestGrob: Finds the widest grob in the current list of grobs

prFpGetConfintFnList: Get a function list

prFpGetGraphTicksAndClips: A helper function to forestplot

prFpGetLabels: Gets the forestplot labels

prFpGetLayoutVP: Get the main foresplot

prFpGetLegendBoxPosition: Converts legend position to a standard position

prFpGetLegendGrobs: Gets the forestplot legend grobs

prFpGetLines: Prepares the hrzl_lines for the plot

prFpPrepareLegendMarker: Prepares the legend marker function

prFpPrintLabels: Plots the labels

prFpPrintXaxis: Plots the x-axis for forestplot

prFpValidateLabelList: Validate the forestplot label list

prFpXrange: Gets the x-axis range

prGetTextGrobCex: Just a simple acces to the gp$cex parameter

prGparMerge: Merges two 'gpar' elements

prGridPlotTitle: Adds a title to the plot

prListRep: An alternativ to rep()

prPopulateList: Populate a list corresponding to matrix specs

prPushMarginViewport: Pushes viewport with margins

Files in this package

forestplot
forestplot/inst
forestplot/inst/examples
forestplot/inst/examples/fpColors_example.R
forestplot/inst/examples/getTicks_example.R
forestplot/inst/examples/forestplot_alt_ci_example.R
forestplot/inst/examples/forestplot_example.R
forestplot/inst/examples/fpLegend_example.R
forestplot/inst/doc
forestplot/inst/doc/forestplot.html
forestplot/inst/doc/forestplot.R
forestplot/inst/doc/forestplot.Rmd
forestplot/tests
forestplot/tests/vtest_from_vignette.R
forestplot/tests/forestplot2_vtests.R
forestplot/tests/test_visual_w_cochrane_mdata.R
forestplot/tests/testthat.R
forestplot/tests/testthat
forestplot/tests/testthat/test-inputs.R
forestplot/tests/testthat/test-prGparMerge.R
forestplot/tests/testthat/test-prFpGetLines.R
forestplot/tests/testthat/test-fpTxtGp.R
forestplot/tests/testthat/test-getTicks.R
forestplot/NAMESPACE
forestplot/NEWS
forestplot/data
forestplot/data/HRQoL.rda
forestplot/R
forestplot/R/forestplot_helpers.R forestplot/R/getTicks.R forestplot/R/grid_helpers.R forestplot/R/forestplot.R forestplot/R/data-HRQoL.R forestplot/R/forestplot-package.R forestplot/R/private.R
forestplot/vignettes
forestplot/vignettes/forestplot.Rmd
forestplot/README.md
forestplot/MD5
forestplot/build
forestplot/build/vignette.rds
forestplot/DESCRIPTION
forestplot/man
forestplot/man/fpDrawCI.Rd forestplot/man/prFpConvertMultidimArray.Rd forestplot/man/HRQoL.Rd forestplot/man/prFpPrepareLegendMarker.Rd forestplot/man/fpColors.Rd forestplot/man/prFpDrawLines.Rd forestplot/man/heightDetails.xaxis.Rd forestplot/man/prGparMerge.Rd forestplot/man/prFpGetLabels.Rd forestplot/man/fpTxtGp.Rd forestplot/man/prPopulateList.Rd forestplot/man/prFpPrintXaxis.Rd forestplot/man/prGridPlotTitle.Rd forestplot/man/prFpGetLines.Rd forestplot/man/prFpGetConfintFnList.Rd forestplot/man/prFpDrawLegend.Rd forestplot/man/prPushMarginViewport.Rd forestplot/man/prListRep.Rd forestplot/man/prFpXrange.Rd forestplot/man/fpLegend.Rd forestplot/man/forestplot.Rd forestplot/man/prFpGetGraphTicksAndClips.Rd forestplot/man/prGetTextGrobCex.Rd forestplot/man/prFpValidateLabelList.Rd forestplot/man/forestplot-package.Rd forestplot/man/prFpPrintLabels.Rd forestplot/man/prFpGetLegendBoxPosition.Rd forestplot/man/prFpFindWidestGrob.Rd forestplot/man/prFpGetLayoutVP.Rd forestplot/man/getTicks.Rd forestplot/man/prFpDrawLine.Rd forestplot/man/prFpFetchRowLabel.Rd forestplot/man/prFpGetLegendGrobs.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.