View source: R/utilty_functions_for_matrices.R
Split the matrix in lower, upper triangular and diagonal | R Documentation |
Split the matrix in lower, upper triangular and diagonal.
lud(x)
x |
A matrix with data. |
A list with 3 fields:
lower |
The lower triangular of argument "x". |
upper |
The upper triangular of argument "x". |
diagonal |
The diagonal elements. |
Manos Papadakis.
R implementation and documentation: Manos Papadakis papadakm95@gmail.com.
Intersect
x <- matrix(runif(10*10),10,10)
b<-lud(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.