From jhallman at frb.gov  Wed May  9 17:29:48 2007
From: jhallman at frb.gov (Jeffrey J. Hallman)
Date: 09 May 2007 11:29:48 -0400
Subject: [Rd] fix() changes the class of mts objects
References: <3c12769c0705090615y3be14091w37bf6cc06bb01b0c@mail.gmail.com>
	<Pine.LNX.4.64.0705091457250.6403@auk.stats>
	<3c12769c0705090742n53e8b641ma68bbe4267a60dad@mail.gmail.com>
Message-ID: <xmrirb2qakz.fsf@mralx1.rsma.frb.gov>

"Simone Giannerini" <sgiannerini at gmail.com> writes:

> My concern here is that users can be confused from the fact that if one has
> a single time series fix() uses the default method of edit() and does not
> change
> its class
> 
> > x <- ts(1:5)
> > fix(x)
> > class(x)
> [1] "ts"
> 
> whereas for mts objects edit.data.frame is used so that in my opinion it
> might be worth to clarify it in the documentation.

So write edit.ts() and submit it.

-- 
Jeff



[Rd] fix() changes the class of mts objects
Jeffrey J. Hallman