Learn R Programming

gridify (version 0.7.4)

grid_unit_type: Wrapper for grid::unitType which supports older R versions

Description

Wrapper for grid::unitType which supports older R versions

Usage

grid_unit_type(x, use_grid = TRUE)

Value

a character vector with unit type for each element.

Arguments

x

a grid::unit

use_grid

means try to call grid::unitType if it exists. The main purpose of this argument is to have full test coverage in tests. Default TRUE.