[R] plot(type="h") with bars starting form nonzero values

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Aug 27 13:52:11 CEST 2001



Philippe Grosjean wrote:
> 
> Hello,
> 
> I am using plot(data, type="h") to represent residuals of a time serie
> decomposition, like in stl(). Now, since I am using a multiplicative model X
> = S x T x R (serie X decomposed as S seasonal, T trend and R residual, by
> the way, using Census II method). In this model, no residual means R = 1,
> and not R = 0. Is it a way to represent vertical bars with type="h",
> starting from elsewhere than 0 (i.e., here from 1)?

I think it is not possible. But you can use segments() instead.

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list