Re: [R] Variable names in plotCI

2014-04-11 Thread Jim Lemon
On 04/11/2014 07:59 PM, Mª Teresa Martinez Soriano wrote: Hello to everyone, I would like to put the variable names in the x-axis of this plot instead of number 1:63: plotCI(1:num_col_comp,med,2.06*des/sqrt(n),lwd=1,col="red",scol="seashell4",main="Intervalo de confianza",xlab="Variables clín

Re: [R] Variable names in plotCI

2014-04-11 Thread Pascal Oettli
Hello, When posting, you are asked to provide a reproducible code (including packages you are using) and to not post in HTML. The following might help: library(plotrix) y<-runif(10) err<-runif(10) plotCI(1:10,y,err,main="Basic plotCI",xaxt='n',xlab='') axis(1,1:10,LETTERS[1:10]) Regards, Pascal

[R] Variable names in plotCI

2014-04-11 Thread Mª Teresa Martinez Soriano
Hello to everyone, I would like to put the variable names in the x-axis of this plot instead of number 1:63: plotCI(1:num_col_comp,med,2.06*des/sqrt(n),lwd=1,col="red",scol="seashell4",main="Intervalo de confianza",xlab="Variables clínicas",ylab="Intervalo de confianza")abline(h=0, col="yello