[R] Beginning Eigen System question.

From: <rkevinburton_at_charter.net>
Date: Wed, 23 Jun 2010 15:32:24 -0700


Forgive me if I missunderstand a basic Eigensystem but when I present the following matrix to most any other LinearAlgebra system:

 1 3 1
 1 2 2
 1 1 3

I get an answer like:

//$values
//[1] 5.000000e+00 1.000000e+00 -5.536207e-16

//$vectors
//           [,1]       [,2]       [,3]

//[1,] 0.5773503 -0.8451543 -0.9428090
//[2,] 0.5773503 -0.1690309 0.2357023
//[3,] 0.5773503 0.5070926 0.2357023

But R gives me:

//$values
//[1] 5.000000e+00 1.000000e+00 -5.536207e-16

//$vectors
//           [,1]       [,2]       [,3]

//[1,] -0.5773503 -0.8451543 -0.9428090
//[2,] -0.5773503 -0.1690309 0.2357023

//[3,] -0.5773503 0.5070926 0.2357023

The only difference seems to be the sign on the first eigen vector. What am I missing?

Kevin



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 23 Jun 2010 - 22:34:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 Jun 2010 - 23:00:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive