Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

forestplot (version 1.0)

prFpGetGraphTicksAndClips: A helper function to forestplot

Description

Gets the x-label and zero-bar details

Usage

prFpGetGraphTicksAndClips(xticks, xticks.digits, xlog, xlab, lwd.xaxis, col,
  txt_gp, clip, zero, x_range, nc, mean)

Arguments

xticks
Optional user-specified x-axis tick marks. Specify NULL to use the defaults, numeric(0) to omit the x-axis
xticks.digits
The number of digits to allow in the x-axis if this is created by default
xlog
If TRUE, x-axis tick marks are to follow a logarithmic scale, e.g. for logistic regressoin (OR), survival estimates (HR), poisson regression etc. Note: This is an intentional break with the original
xlab
x-axis label
lwd.xaxis
lwd for the xaxis
col
Set the colors for all the elements. See fpColors for details
txt_gp
Set the fonts etc for all text elements. See fpTxtGp for details
clip
Lower and upper limits for clipping confidence intervals to arrows
zero
x-axis coordinate for zero line. If you provide a vector of length 2 it will print a rectangle instead of just a line
x_range
The range that the values from the different confidence interval span
nc
Number of columns
mean
The original means, either matrix or vector

Value

  • list Returns a list with axis_vp, axisGrob, labGrob, zero and clip