Hello to all,
There are several functions to perform scatter diagrams with labels in the
library 'ade4'.
#########################
library(ade4)
bob <- as.data.frame((array(1:5, c(4,2))))
row.names(bob)
row.names(bob) <- paste("row",1:4,sep=".")
row.names(bob)
par(mfrow=c(1,2))
s.label(bob, sub="row.names",grid=F)
newnames <- paste("newrow",1:4,sep=".")
newnames
s.label(bob,label=newnames,sub="new names",grid=F)
# There are more examples in the help.
? s.label
hope this helps
P.BADY
Quoting luc <luc at ifc.cnr.it>:> How can i plot an array and instead of having on the x labels the
> indexes of the array I want to display an other String array of the
> same length
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
---------------------------------------------------------
Pierre BADY
Universit?? Claude Bernard Lyon 1
UMR CNRS 5023, LEHF
bat Alphonse Forel
43 boulevard du 11 novembre 1918
F-69622 VILLEURBANNE CEDEX
FRANCE
TEL : +33 (0)4 72 44 62 34
FAX : +33 (0)4 72 43 28 92
MEL : pierre.bady at univ-lyon1.fr
http://limnologie.univ-lyon1.fr