Extract the diagonal of a pedmat object or other matrices.
This generic function extending base::diag to support pedmat objects.
Arguments
- x
A matrix, vector, or
pedmatobject.- ...
Additional arguments passed to
base::diag.
Extract the diagonal of a pedmat object or other matrices.
This generic function extending base::diag to support pedmat objects.
A matrix, vector, or pedmat object.
Additional arguments passed to base::diag.