Learn R Programming

Gmisc (version 3.0.3)

getGridVal: Gets grid value

Description

Returns the raw value in units if the provided is of type unit else it returns the default unit.

Usage

getGridVal(x, default.units, axisTo = "x")

Value

float

Arguments

x

Value

default.units

The unit type

axisTo

The axis that is used, useful for "npc" where there is a big difference in height and width