[R] problems with assigning classes
hrthiess at student.math.uwaterloo.ca
Fri Nov 16 17:39:44 CET 2001
I am applying classification methods to a dataset with 2 classes; where
y=0 - non survival and y=1 - survival. When using ldq, qda, glm, gam
,etc. y=0 is assigned as class 1 and y=1 is assigned as class 0. How can
I always assign y=0 as class 0 and y=1 as class 1?
Thank you for your time,
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