[R] R for linear algebra

Robert Baer rb@er @end|ng |rom @t@u@edu
Sat Jun 25 18:21:56 CEST 2022


On 6/24/2022 8:57 PM, Avi Gross via R-help wrote:
-- snip--
> A policy of this forum is to point out mostly what is part of standard R and obviously there can  be specialized functionality in packages, albeit some functions  in that package are unlikely to be taught in a first undergraduate Linear Algebra course.

- snip --

This is a bit of an exaggeration, and Michael's response seems an 
entirely appropriate and helpful response to the original question.

The mailing list  guidelines read:

"The ‘main’/R/mailing list, for discussion about problems and solutions 
encountered using/R/, including using/R/packages in the 
standard/R/distribution and on CRAN; announcements (not covered 
by|R-announce|or|R-packages|); the availability of new functionality 
for/R/and documentation of/R/; and for posting nice examples and 
benchmarks."

"...using/R/packages in the standard/R/distribution and on CRAN..."

>
> -----Original Message-----
> From: Michael L Friendly<friendly using yorku.ca>
> To: org (R-help using r-project.org)<r-help using r-project.org>
> Cc: Avi Gross<avigross using verizon.net>;abouelmakarim1962 using gmail.com>, <abouelmakarim1962 using gmail.com>
> Sent: Fri, Jun 24, 2022 9:12 pm
> Subject: Re: R for linear algebra
>
>   <!--#yiv2977149432 _filtered {} _filtered {}#yiv2977149432 #yiv2977149432 p.yiv2977149432MsoNormal, #yiv2977149432 li.yiv2977149432MsoNormal, #yiv2977149432 div.yiv2977149432MsoNormal {margin:0in;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv2977149432 a:link, #yiv2977149432 span.yiv2977149432MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv2977149432 p.yiv2977149432MsoPlainText, #yiv2977149432 li.yiv2977149432MsoPlainText, #yiv2977149432 div.yiv2977149432MsoPlainText {margin:0in;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv2977149432 span.yiv2977149432EmailStyle17 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv2977149432 span.yiv2977149432PlainTextChar {font-family:"Calibri", sans-serif;}#yiv2977149432 .yiv2977149432MsoChpDefault {font-family:"Calibri", sans-serif;} _filtered {}#yiv2977149432 div.yiv2977149432WordSection1 {}-->Hello    The {matlib} package was developed for just this purpose – teaching and illustrating linear algebra concepts and techniques. In my old 6140 Multivariate Data Analysis course, I spent ~5-6 weeks on linear algebra.    CRAN:https://cran.r-project.org/web/packages/matlib/index.html  GitHub:https://github.com/friendly/matlib  6140:http://euclid.psych.yorku.ca/www/psy6140/     There are quite a few vignettes    --- Michael Friendly     Email: friendly AT yorku DOT ca Professor, Psychology Dept York University      Voice: 416 736-2100 x66249 4700 Keele Street    Web:http://www.datavis.ca  | @datavisFriendly Toronto, ONT  M3J 1P3 CANADA          Message: 11 Date: Fri, 24 Jun 2022 02:31:24 +0000 (UTC) From: Avi Gross<avigross using verizon.net>  To:"abouelmakarim1962 using gmail.com"  <abouelmakarim1962 using gmail.com>,"r-help using r-project.org"  <r-help using r-project.org>  Subject: Re: [R] R for Linear Algebra Message-ID:<1658548037.4476854.1656037884865 using mail.yahoo.com>  Content-Type: text/plain; charset="utf-8"    R is a language specially made to do many things with vectors and matrices and arrays with any reasonable number of dimensions and also has a host of functions that do things like make diagonal matrices, calculate determinants and multiply them in several ways,  invert them, get eigenvalues and much more if you look for packages. So the question becomes, what else do you feel you need for a Linear Algebra course that a simple web search would not have found like this:https://towardsdatascience.com/intro-to-r-linear-algebra-2a4de2506c93     https://towardsdatascience.com/intro-to-r-linear-algebra-2a4de2506c93#:~:text=R%20is%20especially%20handy%20with,solvers%20and%20dynamic%20indexing%20capabilities. Unless I missed something, yes, R is more easily able to be used to do such things than many other languages albeit just about any language tends to have access to a variety of functions that may do these things but are not built in.       -----Original Message----- From: AbouEl-Makarim Aboueissa<abouelmakarim1962 using gmail.com>  To: R mailing list<r-help using r-project.org>  Sent: Thu, Jun 23, 2022 10:39 am Subject: [R] R for Linear Algebra    Re: R for Linear Algebra          Dear All:                In my STA 591 topics in Biostatistics Fall 2022, I am planning to spend about 5 weeks on Linear Algebra.          I am wondering if someone has or knows the source for some R functions/programs written for linear algebra calculations.          Also if you know a book in Linear Algebra with R, will be a good help too.       Any help in this matter is highly appreciated in advance.
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org  mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list