powered by
diag
get.diag(x,...)
get.diag(matrix(1:4,2,2)) get.diag(4)
Run the code above in your browser using DataLab