[R] how to plot an array with labels

2004-08-13 Thread luc
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 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] how to plot an array with labels

2004-08-13 Thread Mayeul KAUFFMANN
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 Do this: plot(myarray,xaxt=n,xlab=) axis(1,at=1:length(myarray),lab=my.vector.of.names) __ [EMAIL

Re: [R] how to plot an array with labels

2004-08-13 Thread Pierre BADY
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,