[R] Change Variable Labels in Quantile Plot

Kitty Lee lee.kitty at yahoo.com
Tue Aug 23 04:00:48 CEST 2011


I have spent hours on this ---looked through the quantreg manual and r-help site--- still couldn't figure out the answer. Can someone please help me on this?

I plot the result from quantile regression and want to change the variable labels: 


temp<-rq(dep~inc+age50, data=newdata, tau=1:9/10)

temp2<-plot(summary(temp))

dimnames(temp2)[[1]]<-c("Intercept", "Per Capita Income", "% Age 50 and Above")

But after I manually change the dimnames, I can't replot the graph (temp2). 


Any suggestions? 



K.



More information about the R-help mailing list