[R] Describing discriminant function

2008-03-30 Thread SS-R
hello, I have two 2-d normal multivariate distributions mapped out on a scatter plot. I now need a line that equates the two discriminant functions, ie. g1(x) = g2(x). This should be a quadratic. How can I solve this in R? Thanks -- View this message in context: http://www.nabble.com/Describing

[R] Extracting data from Eigen function

2008-03-03 Thread SS-R
Hi I need to extract the data returned by Eigen to plot the eigenvectors. However, when I try and eigv = eigen(covariance); it returns an object with the matrices containing eigenvalues and vectors.. how can I extract the eigenvector matrix from this?? When I try mat = eig["vectors"] it returns a