powered by
tri(nrow, ncol = nrow, k = 0, diag = TRUE)
k = 0
TRUE
tri(5, 5) tri(5, 5, 2) tri(5, 5, -1)
Run the code above in your browser using DataLab