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, Heather Thiessen -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._