Skip to content

StructTS Examples

2 messages · R. Michael Weylandt, Brian Ripley

#
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.

Best,
Michael
2 days later
#
On 15/05/2012 03:31, R. Michael Weylandt wrote:
But isn't.  The intention is to use an aspect ratio that gives roughly 
45degree banking, as recommended by Cleveland.