[R] lda in R vs S
Marc R. Feldesman
feldesmanm at pdx.edu
Thu May 6 21:08:36 CEST 1999
I'm running a discriminant analysis in R (0.64.1) to compare it with SPlus
4.5R2. The following command line works fine in SPlus but gives an error
in R. I've only used R for a little while so I'm not certain here what R
(or lda) is complaining about. The dependent variable (sarich.na[,3]) is
an alpha categorical variable, if that makes a difference. I'm using
version VR5.3 (file name VR5.3pl037.zip).
lda.out<-lda(sarich.na[,3]~., data=sarich.na[,4:32])
Error in model.frame(formula, rownames, variables, varnames, extras,
extranames, : invalid variable type
Is this an lda issue or an R issue?
Dr. Marc R. Feldesman
email: feldesmanm at pdx.edu
email: feldesman at ibm.net
fax: 503-725-3905
"Math is hard. Let's go to the mall" Barbie
Powered by: Monstrochoerus - the 300 MHz Pentium II
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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