[R] Change Variable Labels in Quantile Plot
Roger Koenker
rkoenker at illinois.edu
Tue Aug 23 04:08:09 CEST 2011
It should be possible to say plot(..., xlab = "foo", ylab = "bar") )
if not please let me know.
Roger Koenker
rkoenker at illinois.edu
On Aug 22, 2011, at 9:00 PM, Kitty Lee wrote:
> 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.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list