Module # 5 Doing Math

This week we are looking at matrixes and doing some math with them. To start with we have A which is a 10*10 and B which is a 100*10 matrix(not shown).


With the instructions to find the inverse if we used solve(A) it would fail because the determinate is 0.

"Error: system is computationally singular"

B would fail because it is not square. 

There were other instructions like performing multiplication with the Matrixes. for example multiplying the two matrixes together would require inverting B so it is a 10*100 because the inner dimensions need to match. The first few rows of that math are here, the resulting vector is also 10x100.







Comments

Popular posts from this blog

Assignment #10: Building Your Own R Package

Module # 7 R Object: S3 vs. S4 assignment

Week 3