Description Usage Arguments Examples
Create a lens into the lower diagonal elements of a matrix
1 | lower_tri_l(diag = FALSE)
|
diag |
whether or not to include the diagonal |
1 2 3 4 | (x <- matrix(1:9, ncol = 3))
view(x, lower_tri_l())
view(x, lower_tri_l(diag = TRUE))
set(x, lower_tri_l(), c(100, 200, 300))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.