Skip to content

monthplot() in R?

5 messages · Martin Maechler, Duncan Murdoch, Erich Neuwirth +1 more

#
The monthplot function in S is useful for plotting seasonal data.
It's not in base R or the ts package; is it in one of the contributed
packages?  (I've written a quick version for myself; if there isn't
one generally available already, I'll make it public somehow.)

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Duncan> The monthplot function in S is useful for plotting
    Duncan> seasonal data.  It's not in base R or the ts
    Duncan> package; is it in one of the contributed packages?
    Duncan> (I've written a quick version for myself; if there
    Duncan> isn't one generally available already, I'll make it
    Duncan> public somehow.)

yes; I've found this a missing feature occasionally myself.
If I remember properly, S' version built on the output of sabl()
whereas we'd need one building on stl() out --- if any at all.
As a matter of fact, I'd like a more general setup that does not
only work with periodicity 12.
monthplot() would then only be a compatibility wrapper calling
the more general function.

Note that Brian Ripley has recently added quite a few things to
`ts' in R-devel, including StructTS() for structured time-series
analysis which includes seasonality.

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Mon, 25 Mar 2002 09:36:33 +0100, you wrote in message
<15518.57745.596938.55703@gargle.gargle.HOWL>:
Okay, I'll put something together.  I was also thinking of a more
general base function which would be called by monthplot.ts or
monthplot.stl.  The base function would show subsets of the time
series broken up according to arbitrary categories; for monthplot, the
categories would be the months.

Duncan


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
i managed to build r-devel 1.5.0 on win2k 

during the build, i experienced the following problems:


1. Failure in make when starting from scratch
make in src/gnuwin fails at the first run because it tries to use
Rpwd.exe. It does, however, create Rpwd.exe before it fails.
Copying Rpwd.exe to a directory on the path the allows 
a complete pass through make.


2. Warning when building docs
make docs

(Function and Variable Index) [53] (R-lang.vrs [54]) Appendix A [55]
[56] )
(see the transcript file for additional information)
! pdfTeX warning (dest): name{Writing R documentation} has been
referenced but
does not exist, replaced by a fixed one

! pdfTeX warning (dest): name{Preface} has been referenced but does not
exist,
replaced by a fixed one

this might indicate some broken links in the pdf file.


3. Warning when building docs
D:\Work\R-devel\doc\manual>make -f Makefile.win info
makeinfo  -D UseExternalXrefs R-FAQ.texi
makeinfo  -D UseExternalXrefs R-admin.texi
makeinfo  -D UseExternalXrefs R-data.texi
makeinfo  -D UseExternalXrefs R-exts.texi
makeinfo  -D UseExternalXrefs R-intro.texi
R-intro.texi:781: warning: Info cannot handle `:' in index entry `:'.
makeinfo  -D UseExternalXrefs R-lang.texi

4. after installation:
Help -> R language (html)
starts mozilla 0.9.9 (which is the default browser on this machine),
but when i go to the search page and enter a search term,
the browser does NOT jump to any other page, it stays on the search
page.

p.s.:
gnuwin32/INSTALL
tells one to send messages to
R-windows@r-project.org
but mail sent there bounces




--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Mon, 25 Mar 2002, Erich Neuwirth wrote:

            
On all my machines its makes Rpwd.exe, and then spawns a separate make
which proceeds.  It should not fail.
That's an incorrect warning from makeinfo 4.1.
That has worked for me, but I took that browser off as it was too flaky.
Well, it may work by release time.  The request to set up the address has
been made.