[R] Matrix langage

Spencer Graves spencer.graves at pdf.com
Tue Feb 1 19:34:05 CET 2005


      Matrix manipulations are a strength of R.  If A and B are 
matrices, (A+B) adds them and (A %*% B) is the usual matrix 
multiplication;  A*B is elementwise multiplication.  qr(A) = the Q-R 
decomposition;  svd(A) = singular value decomposition.  eigen(A) = 
eigenvalue-eigenvector decomposition (except if you need some special 
Jordon form with repeated roots). 

      Have you looked at ch. 5 in "An Introduction to R" under 
"www.r-project.org" -> Documentation:   Manuals. 

      hope this helps. 
      spencer graves    

Pierre-Olivier Chasset wrote:

> Hello,
>
> I would like to use R in a laboratory. They use actually IML of the 
> SAS-Society. With this IMLangage, you can enter a mathematical formula 
> with sum from i to n, transpose matrix, sum of a colonne and all this 
> stuff. After that, the software can translate it in a program.
> I am not currently use R in Matrix langage. But I manipulate data 
> frame. I have the feeling that R can do like SAS do.
> What do you think about it?
> Thanks in advance,
>
> Pierre-Olivier Chasset
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list