RE: [R] PLS LDA

2003-09-10 Thread Liaw, Andy
Do you mean the pls.pcr package by Prof. Wehrens? This is what I do: o Code the two groups as 0s and 1s (numeric, not factor). o Run PLS as usual. Cases with predicted values 0.5 get classified as 1s, otherwise as 0s. o Note that you need to modify the code inside the mvr()

RE: [R] PLS LDA

2003-09-10 Thread Christoph Lehmann
Hi Andy Great and thanks a lot! Yes, it is the package from Prof. Wehrens. So I just run the PLS like a Logistic Regression, coding the endogenous variable as binary. So no need of specifying a binary-link function (as we have to when using glm)? And yes of course: I need the LVs which give the