arrange_lambda | R Documentation |
Suppose x
is a d \times d
square matrix. This function extracts the diagonal and upper off-diagonal elements of a given square matrix.
arrange_lambda(x)
x |
a |
a list of addresses for elements of the given matrix x
as {x}_{11},{x}_{12},\cdots,{x}_{1n},{x}_{21},{x}_{22},\cdots,{x}_{2n},\cdots,{x}_{mn}
.
Mahdi Teimouri
x <- matrix( c( 0.4, -0.20, -0.20, 0.5 ), nrow = 2, ncol = 2 )
arrange_lambda(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.