Create the matrix A

Question:

Create the matrix A <- matrix(1:16,nrow=4) in R. Using the functions upper. tri, lower. tri, and diag, obtain the identity matrix.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

A Course In Statistics With R

ISBN: 9781119152729

1st Edition

Authors: Prabhanjan N. Tattar, Suresh Ramaiah, B. G. Manjunath

Question Posted: