s-news
[Top] [All Lists]

Re: acf, plot, main

To: jens lehnen <Jens.Lehnen@uni-konstanz.de>
Subject: Re: acf, plot, main
From: immhan@student.dtu.dk
Date: Tue, 12 Dec 2000 09:30:34 +0100 (MET)
Cc: s-news@wubios.wustl.edu
In-reply-to: <4.3.2.7.0.20001208151501.00aae9f0@popserver.uni-konstanz.de>
Hi Jens

acf does not accept the 'main' argument, but acf.plot do:

eda.ts <-function(x)
{
        par(mfrow = c(2, 1))
        ts.plot(x)
        z <- acf(x, plot=F)
        acf.plot(z, main = deparse(substitute(x)))
        invisible()
}

Regards,
Henrik  

--------------------------------------------------------------------------
Henrik Aalborg Nielsen                  
Department of Mathematical Modelling
Section for Statistics                  Fax:    +45 4588 1397
Time Series Group                       Phone:  +45 4525 3418
Technical University of Denmark         E-mail: han@imm.dtu.dk
Building 321, 2800 Lyngby, Denmark      URL:    http://www.imm.dtu.dk/~han
--------------------------------------------------------------------------

On Mon, 11 Dec 2000, jens lehnen wrote:

> Hi,
> 
> the plot of acf has the title (main) of the name of the Data, like: 
> "Series:mich"
> 
> at the plot of eda.ts (s. Guide to Statistics Volume 1: statman1.pdf; p.59):
> 
> eda.ts <-function(x)
> {
>       par(mfrow = c(2, 1))
>       ts.plot(x)
>       acf(x)
>       invisible()
> }
> 
> the title of acf are "Series: x" (variable x)
> 
> Why? And how can I solve this "problem"?
> 
> the same problem exists also in other functions (main, xlab,etc.), e.g. 
> eda.shape (s. Guide to Statistics Volume1: statman1.pdf; p.58).
> 
> I use SPLUS 2000 Professional Release 3, Win 98
> 
> Thanks in advance
> 
> jens
> --
> Jens Lehnen
> Sportwissenschaft
> Universitaet Konstanz
> Universitaetstr. 10
> Postfach D 30
> 78457 Konstanz
> Germany
> Tel. +49 7531 883564
> Fax +49 7531 883026
> 
> ---------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu.  To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message:  unsubscribe s-news
> 


<Prev in Thread] Current Thread [Next in Thread>