From civaha at glam.ac.uk  Fri Apr 11 14:37:24 2008
From: civaha at glam.ac.uk (Ivaha C (AT))
Date: Fri, 11 Apr 2008 13:37:24 +0100
Subject: [Rd] StructTS
In-Reply-To: <47FF5A5F.5040409@stats.uwo.ca>
References: <DBB4BBF4-5AB5-488C-8108-EB3905317A5C@noaa.gov>
	<16627538.post@talk.nabble.com> <47FF5A5F.5040409@stats.uwo.ca>
Message-ID: <0BA7EE4D4646E0409D458D347C508B78044EEB42@MAILSERV1.uni.glam.ac.uk>


Thanks a lot for that!!!

Best Regards,

Christian Ivaha
PhD Student
University of Glamorgan
Faculty of Advanced Technology
Treforest
CF37 1DL


-----Original Message-----
From: Duncan Murdoch [mailto:murdoch at stats.uwo.ca] 
Sent: 11 April 2008 13:33
To: Ivaha C (AT)
Cc: r-devel at r-project.org
Subject: Re: [Rd] StructTS

On 4/11/2008 7:23 AM, Christian_Ivaha wrote:
> Hi Roy
> 
> Have you managed to find the source code for StructTS after all? I am
> looking for it as well but cant seem to find it, thanks

StructTS is in the stats package, which is a base package.  That means 
its source is part of the R source code.  You can find the source of all

base packages in https://svn.r-project.org/R/trunk/src/library.  (This 
is the development branch; if you're looking for a particular version, 
replace trunk with tags/* or branches/*, where the * determines the 
version.)

For example, the soon-to-be-released version 2.7.0 of StructTS would be
in

https://svn.r-project.org/R/branches/R-2-7-branch/src/library/stats/R/St
ructTS.R

Duncan Murdoch

> 
> Chris
> 
> 
> 
> Roy Mendelssohn wrote:
>> 
>> I apologize in advance if I picked the wrong list to post this to.  I

>> have made an effort to find the answers to these questions on CRAN,  
>> but if they are there, I couldn't find them, and I was going to email

>> the developer of StructTS directly but could not find who that is.
>> 
>> I have 2 interrelated questions about StructTS
>> 
>> 1.  Where can I obtain the source code for StructTS if I wanted to  
>> produce a similar function with an extended capability?
>> 
>> 2.  Would the person who developed StructTS have any interest in  
>> adding the ability to include an AR term and/or a stochastic cycle?
>> 
>> Thanks in advance,
>> 
>> -Roy M.
>> 
>> 
>> 
>> **********************
>> "The contents of this message do not reflect any position of the U.S.

>> Government or NOAA."
>> **********************
>> Roy Mendelssohn
>> Supervisory Operations Research Analyst
>> NOAA/NMFS
>> Environmental Research Division	
>> Southwest Fisheries Science Center
>> 1352 Lighthouse Avenue
>> Pacific Grove, CA 93950-2097
>> 
>> e-mail: Roy.Mendelssohn at noaa.gov (Note new e-mail address)
>> voice: (831)-648-9029
>> fax: (831)-648-8440
>> www: http://www.pfeg.noaa.gov/
>> 
>> "Old age and treachery will overcome youth and skill."
>> 
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>> 
>> 
> 



[Rd] StructTS
Ivaha C (AT