Re: [R] plot for linear discriminant

2010-05-16 Thread Giovanni Azua
Hello Hadley, Thank you very much for your help! I have just received your book btw :) On May 16, 2010, at 6:16 PM, Hadley Wickham wrote: >Hi Giovanni, > >Have a look at the classifly package for an alternative approach that >works for all classification algorithms. If you provided a small >repr

Re: [R] plot for linear discriminant

2010-05-16 Thread Hadley Wickham
Hi Giovanni, Have a look at the classifly package for an alternative approach that works for all classification algorithms. If you provided a small reproducible example, I could step through it for you. Hadley On Sat, May 15, 2010 at 6:19 AM, Giovanni Azua wrote: > Hello, > > I have a labelled

[R] plot for linear discriminant

2010-05-15 Thread Giovanni Azua
Hello, I have a labelled dataset with three classes. I have computed manually the LDA hyperplane that separate the classes from each other i.e. \hat{\delta}_j(x)=x^Tb_j + c_j where b_j \in \mathbb{R}^p and c_j \in \mathbb{R} my concrete b_j looks like e.g. b_j <- rbind(1,2) c_j <- 3 How can I