[R] different offset for each label?
jszhao at yeah.net
Thu Mar 29 07:38:20 CEST 2012
I hope to give a different offset for each label in a complex plot.
However, the following code does not work.
> text(c(1:4), letters[1:4], pos = c(4,3,2,1), offset=c(1,2,3,4))
it seems that text() only use the first element of c(1,2,3,4), i.e., 1.
Is it possible to assign a different offset for each label?
Any suggestions or comments will be really appreciated.
More information about the R-help