From ripley at stats.ox.ac.uk  Thu May 17 11:50:22 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 17 May 2012 10:50:22 +0100
Subject: [Rd] StructTS Examples
In-Reply-To: <CAAmySGM-NoqcfTEHSvJ3ixHQRyj8e8pqZOa881pz2Dz7hJvA3w@mail.gmail.com>
References: <CAAmySGM-NoqcfTEHSvJ3ixHQRyj8e8pqZOa881pz2Dz7hJvA3w@mail.gmail.com>
Message-ID: <4FB4C9DE.5090009@stats.ox.ac.uk>

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



[Rd] StructTS Examples
Prof Brian Ripley