R-alpha: Re: R 0.50.a2 - unlist() still broken

Peter Dalgaard BSA p.dalgaard@kubism.ku.dk
06 Aug 1997 15:16:11 +0200


You still can't unlist() a regression object:

x<-rnorm(3)
y<-rnorm(3)+x
o<-lm(y~x)
unlist(o)
ou<-unclass(o)
ou
unlist(ou)

Part of the explanation seems to be contained in

unlist(list(1,2,3,4))
unlist(list(1,2,3,4,"a"))
unlist(list(1,2,3,4,x~y))

and also in

unlist(list(x~y))



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