Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

heightDetails.xaxis

Gets the height for an x-axis object


Description

A function that gets the height of an xaxisGrob. It is for some reason not included by default in the grid-package.

Usage

## S3 method for class 'xaxis'
heightDetails(x)

Arguments

x

The xaxisGrob object

Value

grid::unit A unit object

Examples

library(grid)
grid.newpage()
xg <- xaxisGrob(c(1:3))
convertY(grobHeight(xg), "lines")

forestplot

Advanced Forest Plot Using 'grid' Graphics

v1.10.1
GPL-2
Authors
Max Gordon [aut, cre], Thomas Lumley [aut, ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.