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

get.legend.plotting.area

Get the legend plotting area.


Description

Returns the legend plotting area rectangle in plotting coordinates (if any).

Usage

get.legend.plotting.area(
  plot.type = c("baseR", "SVG")[1],
  suppress.warnings = FALSE
)

Arguments

plot.type

Can be either "baseR" or "SVG" and specifies to which type of plotting the mapping applies.

suppress.warnings

Logical, if TRUE don't show any warnings.

Details

This is intended for advanced users only.

Value

A numeric vector with components x.min, x.max, y.min and y.max, or NULL in case of error or no legend being shown.


AdhereR

Adherence to Medications

v0.6.1
GPL (>= 2)
Authors
Dan Dediu [aut, cre], Alexandra Dima [aut], Samuel Allemann [aut]
Initial release

We don't support your browser anymore

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