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

Graphical Units

Description

xinch and yinch convert the specified number of inches given as their arguments into the correct units for plotting with graphics functions.

Usage

xinch(x=1)
yinch(x=1)

Examples

# plot labels offset 0.2 inches to the right
# of plotted symbols in a plot
data(mtcars)
attach(mtcars)
plot(mpg, disp, pch=19)
text(mpg + xinch(0.12), disp, rownames(mtcars),adj=0, cex = .6, col='blue')
detach(mtcars)

[Package base version 0.60 ]