[Rd] StructTS Examples

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu May 17 11:50:22 CEST 2012


On 15/05/2012 03:31, R. Michael Weylandt wrote:
> In the examples for StructTS -- ($RHOME)/library/stats/man/StructTS.Rd -- could
>
> par(mfrow = c(4, 1))
> plot(log10(UKgas))
> plot(cbind(fitted(fit), resids=resid(fit)), main = "UK gas consumption")
>
> become
>
> plot(log10(UKgas))
> par(mfrow = c(4, 1))
> plot(cbind(fitted(fit), resids=resid(fit)), main = "UK gas consumption")
>
> ## Note that par was moved down
>
> This makes the plot of UKgas use the whole plot screen (as opposed to
> one small panel while three remain empty) which seems like an
> improvement.

But isn't.  The intention is to use an aspect ratio that gives roughly 
45degree banking, as recommended by Cleveland.

>
> Best,
> Michael
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list