[R] text() and vector arguments like adj

strinz at freenet.de strinz at freenet.de
Sat Jul 28 21:19:48 CEST 2007


I remarked that the function
## Default S3 method:
text (x, y = NULL, labels = seq(along = x), adj = NULL,pos = NULL, offset = 0.5, vfont = NULL,cex = 1, col = NULL, font = NULL, ...)

accepts vectors of arguments (of the same length) except for the parameter adj.
When passing a vector of information for adjusting the labels, only the first value
is taken.  

Any special reason for this ?

btw: could a rotating argument like the 'srt' argument in mtext() be incorporated ?


More information about the R-help mailing list