Extract the diagonal of a pedmatrix object or other matrices.
This generic function delegates to diag, Matrix::diag,
or specialized S3 methods.
Extract the diagonal of a pedmatrix object or other matrices.
This generic function delegates to diag, Matrix::diag,
or specialized S3 methods.