[R] Change Variable Labels in Quantile Plot

RKoenker rkoenker at uiuc.edu
Tue Aug 23 21:33:52 CEST 2011


Hi Roger,

Maybe I'm missing a clue. Here's an example:

x<-rnorm(50)
x1<-rnorm(50)
y<-x+x1+rnorm(50)


out<-rq(y~x+x1, tau=1:9/10)
plot(summary(out))
plot.out<-plot(summary(out))


#I change the variable names

dimnames(plot.out)<-list(c("intercept", "sex", "inc"))


Why not just change the names of the variables before invoking the call to
rq, and its formula?


--
View this message in context: http://r.789695.n4.nabble.com/Change-Variable-Labels-in-Quantile-Plot-tp3762421p3763694.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list