[Rd] cbind.ts(),ts.union() (PR#508)
Prof Brian D Ripley
ripley@stats.ox.ac.uk
Mon, 3 Apr 2000 20:56:21 +0100 (BST)
On Mon, 3 Apr 2000 koller2@fgr.wu-wien.ac.at wrote:
> Full_Name: Wolfgang Koller
> Version: 1.0.0
> OS: linux
> Submission from: (NULL) (137.208.7.48)
>
>
> > data(UKLungDeaths)
> > ts.union(mdeaths, fdeaths,dframe=TRUE)
> Error in names<-.default(*tmp*, value = nmsers) :
> names attribute must be the same length as the vector
> > cbind(mdeaths, fdeaths,dframe=TRUE)
> Error in names<-.default(*tmp*, value = nmsers) :
> names attribute must be the same length as the vector
>
> should not give an error
Those are the same thing. Replace
x <- vector("list", n)
by
x <- vector("list", nser)
which was not too hard to debug, surely?
> BR#239--241
Eh? That's beyond me!
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._