R-beta: rep() drops factor type -- bug or feature?

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sat Aug 15 13:08:18 CEST 1998


morse at pobox.com (Doug Morse) writes:

> Is this a bug or a feature?  In previous versions of R, rep() "kept
> type", as it does with S-Plus (Windows Version 4.0R3).  If this 
> behavior is in fact not a bug but a feature, then I'd appreciate any
> help on understanding how I should go about replicating factors.

It's a bug alright. Ross said that he fixed it for the development
version, but perhaps we should get it fixed already for 0.62.3 (due
out "soon").

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list