[Rd] fix() changes the class of mts objects

Jeffrey J. Hallman jhallman at frb.gov
Wed May 9 17:29:48 CEST 2007


"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



More information about the R-devel mailing list