Skip to content
Back to formatted view

Raw Message

Message-ID: <x2hgd7ny7d.fsf@bush.kubism.ku.dk>
Date: 1997-08-03T14:22:13Z
From: Peter Dalgaard
Subject: R-alpha: One-row frames don't work

While trying to write a half-decent predict.lm, I stumbled upon this
obstacle:

> data.frame(x=2)
  x
> data.frame(x=1:2)
     x
[1,] 1
[2,] 2

BTW, there really isn't a working predict() floating around, is there?

-- 
   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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-