Hi all,
I am running 4 series of quantile regressions with tau=10:90/100, each
series corresponding to a different year.
I would like to restrict ylim for each coefficient to be the same across
years in order to help comparing coeff across years. Therefore, I need to
specify ylim for each coef.
I have tried:
graph<-rq(q~factors[,1]+factors[,2]+factors[,3]+factors[,4]+factors[,5]+factors[,6]+factors[,7]+factors[,8],
tau=10:90/100)
sgraph <- summary(graph)
plot(sgraph,main=c("intercept VS Q", variable.names(variables)[1:8]),
ylim=c(c(0,1500),c(0,400),c(-150,150),c(0,200),c(-150,220),c(-50,80),c(-0.3,0.7),c(2,16),c(0,600))
But I get an error message:
Erreur dans plot.window(...) : valeur 'ylim' incorrecte
In English: Error in the plot.window(...): value ylim incorrect
Any idea how I could keep ylim constant across summary plots?
At a later stage, I will take into account the panel structure of the data,
but for now, I just want to have an idea of how estimates vary between
years.
Thanks in advance,
Best,
Xavier Vollenweider
--
View this message in context:
http://r.789695.n4.nabble.com/rq-summary-plot-specify-ylim-for-each-coefficient-tp4649723.html
Sent from the R help mailing list archive at Nabble.com.