Re: [Rd] StructTS Examples

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu, 17 May 2012 10:50:22 +0100

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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 17 May 2012 - 09:53:05 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 17 May 2012 - 11:31:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive