powered by
triu(x, k = 0, diag = TRUE)
k = 0
TRUE
triu(ones(5, 5)) triu(ones(5, 5), diag = FALSE)
Run the code above in your browser using DataLab