[19042] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] Problems with gam plots.

daemon@ATHENA.MIT.EDU (Rob J Hyndman)
Wed Aug 25 20:40:42 1999

Date: Thu, 26 Aug 1999 10:32:48 +1000
From: Rob J Hyndman <Rob.Hyndman@BusEco.monash.edu.au>
To: s-news@wubios.wustl.edu
Message-Id: <37C48B30.3B5B43F3@BusEco.monash.edu.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7BIT


I have the following function

func _ function(x)
{
        assign("x",x,frame=1)
        junk _ gam(y ~ s(x),na.action=na.omit)
        plot(junk)
}

Why doesn't it work?  The fitting seems to be correct, but the plot is a
mess.

Rob Hyndman 
__________________________________________________
Dr Rob Hyndman
Department of Econometrics & Business Statistics
Monash University, Clayton VIC 3168, Australia
http://www-personal.buseco.monash.edu.au/~hyndman/
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

home help back first fref pref prev next nref lref last post