powered by
get_diags(data, direction = "right")
M = matrix(rnorm(9),3,3) get_diags(M)
Run the code above in your browser using DataLab