matlib v0.9.2

0

Monthly downloads

0th

Percentile

Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics

A collection of matrix functions for teaching and learning matrix linear algebra as used in multivariate statistical methods. These functions are mainly for tutorial purposes in learning matrix algebra ideas using R. In some cases, functions are provided for concepts available elsewhere in R, but where the function call or name is not obvious. In other cases, functions are provided to show or demonstrate an algorithm. In addition, a collection of functions are provided for drawing vector diagrams in 2D and 3D.

Functions in matlib

Name Description
cholesky Cholesky Square Root of a Matrix
MoorePenrose Moore-Penrose inverse of a matrix
buildTmat Build/Get tranformation matricies
arrows3d Draw 3D arrows
gsorth Gram-Schmidt Orthogonalization of a Matrix
mpower Matrix Power
is_square_matrix Test for square matrix
R Rank of a Matrix
Solve Solve and Display Solutions for Systems of Linear Simultaneous Equations
plot.regvec3d Plot method for regvec3d objects
adjoint Calculate the Adjoint of a matrix
SVD Singular Value Decomposition of a Matrix
circle3d Draw a horizontal circle
J Create a vector, matrix or array of constants
angle Angle between two vectors
arc Draw an arc showing the angle between vectors
matlib matlib: Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics.
len Length of a Vector or Column Lengths of a Matrix
echelon Echelon Form of a Matrix
gaussianElimination Gaussian Elimination
printMatEqn Print Matrices or Matrix Operations Side by Side
printMatrix Print a matrix, allowing fractions or LaTeX output
pointOnLine Position of a point along a line
powerMethod Power Method for Eigenvectors
cone3d Draw a 3D cone
cofactor Cofactor of A[i,j]
class Class Data Set
matrix2latex Convert matrix to LaTeX equation
rowMinors Row Minors of A[i,]
svdDemo Demonstrate the SVD for a 3 x 3 matrix
corner Draw a corner showing the angle between two vectors
plotEqn Plot Linear Equations
showEig Show the eigenvectors associated with a covariance matrix
plotEqn3d Plot Linear Equations in 3D
showEqn Show Matrices (A, b) as Linear Equations
swp The Matrix Sweep Operator
tr Trace of a Matrix
rowadd Add multiples of rows to other rows
vec Vectorize a Matrix
vectors Draw geometric vectors in 2D
vandermode Vandermode Matrix
minor Minor of A[i,j]
rowmult Multiply Rows by Constants
rowswap Interchange two rows of a matrix
regvec3d Vector space representation of a two-variable regression model
rowCofactors Row Cofactors of A[i,]
vectors3d Draw 3D vectors
symMat Create a Symmetric Matrix from a Vector
therapy Therapy Data
workers Workers Data
Det Determinant of a Square Matrix
Ginv Generalized Inverse of a Matrix
GramSchmidt Gram-Schmidt Orthogonalization of a Matrix
Eigen Eigen Decomposition of a Square Symmetric Matrix
LU LU Decomposition
Proj Projection of Vector y on columns of X
QR QR Decomposition by Graham-Schmidt Orthonormalization
Inverse Inverse of a Matrix
No Results!

Vignettes of matlib

Name
CanvasMatrix.js
det-ex1.Rmd
det-ex2.Rmd
eigen-ex1.Rmd
eigen-ex2.Rmd
ginv.Rmd
gramreg.Rmd
inv-ex1.Rmd
inv-ex2.Rmd
linear-equations.Rmd
plotEqn1snapshot.png
No Results!

Last month downloads

Details

Type Package
Date 2019-05-12
License GPL (>= 2)
URL https://github.com/friendly/matlib
BugReports https://github.com/friendly/matlib/issues
LazyData TRUE
VignetteBuilder knitr
RoxygenNote 6.1.1
Encoding UTF-8
NeedsCompilation no
Packaged 2019-05-29 16:24:15 UTC; Friendly
Repository CRAN
Date/Publication 2019-05-29 17:10:07 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/matlib)](http://www.rdocumentation.org/packages/matlib)