cm2in: A function to convert centimeters to inches

Description Usage Arguments Value Author(s) See Also Examples

Description

A utility function to convert centimeters to inches, mostly used for plotting.

Usage

1
cm2in(x)

Arguments

x

A size in cm, to be converted to inches

Value

Returns a numeric vector (possibly a single scalar)

Author(s)

Daniel Pritchard

See Also

Many of the base plotting functions require inches, see par

Examples

1
cm2in(19) # Should be approx 7.5 inches

dpritchard/takiwaR documentation built on May 15, 2019, 1:50 p.m.