forestplot v1.9

0

Monthly downloads

0th

Percentile

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.

Readme

The Forestplot package

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.

Questions

Due to the package's popularity I suggest that you start with asking questions on StackOverflow so that others can learn from your own problems. Add the tag r and forestplot so that others can quickly find the question.

Contributing

All contributions are welcome. The package is managed at GitHub and I suggest that you start with creating an issue. If you feel that you're able to solve the coding on your own then fork the package and once you're done, create a pull request.

Functions in forestplot

Name Description
prFpGetLegendBoxPosition Converts legend position to a standard position
forestplot-package Package description
HRQoL Regression coefficients and confidence intervals from HRQoL study
prFpGetLayoutVP Get the main foresplot
prFpPrepareLegendMarker Prepares the legend marker function
prFpPrintLabels Plots the labels
prFpFetchRowLabel Get the label
prFpValidateLabelList Validate the forestplot label list
prGetTextGrobCex Just a simple acces to the gp$cex parameter
prListRep An alternativ to rep()
prPopulateList Populate a list corresponding to matrix specs
fpLegend A function for the legend used in forestplot()
prGridPlotTitle Adds a title to the plot
prFpDrawLines Draws the horizontal lines
prFpGetLabels Gets the forestplot labels
prFpGetGraphTicksAndClips A helper function to forestplot
prGparMerge Merges two gpar elements
fpDrawNormalCI Draw standard confidence intervals
prFpPrintXaxis Plots the x-axis for forestplot
prFpXrange Gets the x-axis range
fpTxtGp Get font settings for forestplot
getTicks Ticks for plot axis
prFpFindWidestGrob Finds the widest grob in the current list of grobs
prFpDrawLine Draws a straight line
prPushMarginViewport Pushes viewport with margins
prFpConvertMultidimArray Converts a 2D or 3D array to mean, lower, upper
heightDetails.xaxis Gets the height for an x-axis object
prFpGetLegendGrobs Gets the forestplot legend grobs
prFpGetConfintFnList Get a function list
prFpGetLines Prepares the hrzl_lines for the plot
prFpDrawLegend Draw the forestplot legend
fpColors A function for the color elements used in forestplot()
forestplot Draws a forest plot
No Results!

Vignettes of forestplot

Name
forestplot.Rmd
No Results!

Last month downloads

Details

Date 2019-06-24
License GPL-2
URL http://gforge.se/packages/
BugReports https://github.com/gforge/forestplot/issues
Biarch yes
Encoding UTF-8
NeedsCompilation no
VignetteBuilder knitr
RoxygenNote 6.1.1
Packaged 2019-06-24 12:32:28 UTC; max
Repository CRAN
Date/Publication 2019-06-24 12:50:02 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/forestplot)](http://www.rdocumentation.org/packages/forestplot)