[R] lda in R vs S

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri May 7 01:08:21 CEST 1999


Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:

> 
> > 
> > >
> > >    /* Sanity checks to ensure that the the answer can become */
> > >    /* a data frame.  Be deeply suspicious here! */
> > >
> > 
> > Deeply suspicious of what?
> 
> Of things that look like factors? (I don't know, I didn't write this.)
> 

I believe that is a very old comment (probably by Ross)... I think
that the point is that there are cases that are easily overlooked,
such as the fact that a "column" of a data frame can actually be a
matrix. 

The important thing that gets ruled out is string vectors (whether
or not that is a good idea...), which is probably exactly what Marc F.
has where he thinks he has a factor.

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