R: Is a given unit 'small'?

is.small {lemon} | R Documentation

## Is a given unit 'small'?

### Description

Uses a holistic approach to determine whether a unit is 'small', i.e. less than 1 cm, 1 line, 10 pt, or 0.4 in.

### Usage

    is.small(x)

### Arguments

`x` | A unit.

### Details

Based on arbitraily chosen definitions of 'small', this function can return `TRUE` or `FALSE` if a unit is 'small'.

So far, less than 1 cm, 1 line, 10 pt, or 0.4 inches is defined as being 'small'. Unresolved sizes, suchs as 'grobheight', 'grobwidth', or 'null' are not small. Units based on arithmetic, such as sum of multiple units, are also not small. `NA`s are returned for undecided sizes.

### Value

Logical or `NA`.

[Package lemon version 0.3.3 Index]