This help topic is for R version 2.9.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/grDevices/html/cm.html
cm {grDevices}R Documentation

Unit Transformation

Description

Translates from inches to cm (centimeters).

Usage

cm(x)

Arguments

x

numeric vector

Examples

cm(1)# = 2.54

## Translate *from* cm *to* inches:

10 / cm(1) # -> 10cm  are 3.937 inches

[Package grDevices version 2.9.0 ]