[R] Symbolic eigenvalues and eigenvectors

Steve Lianoglou mailinglist.honeypot at gmail.com
Wed May 5 03:06:17 CEST 2010


On Tue, May 4, 2010 at 8:54 PM, John Mesheimer <john.mesheimer at gmail.com> wrote:
> Let's say I had a matrix like this:
> library(Ryacas)
> x<-Sym("x")
> m<-matrix(c(cos (x), sin(x), -sin(x), cos(x)), ncol=2)
> How can I use R to obtain the eigenvalues and eigenvectors?

R> help.search('eigenvalues')

is a good start

Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

More information about the R-help mailing list