Learn R Programming

ggplot2 (version 3.3.1)

max_height: Get the maximal width/length of a list of grobs

Description

Get the maximal width/length of a list of grobs

Usage

max_height(grobs, value_only = FALSE)

max_width(grobs, value_only = FALSE)

Arguments

grobs

A list of grobs

value_only

Should the return value be a simple numeric vector giving the maximum in cm

Value

The largest value. measured in cm as a unit object or a numeric vector depending on value_only