Learn R Programming

MESS (version 0.5.12)

qdiag: Fast extraction of matrix diagonal

Description

Fast extraction of matrix diagonal

Usage

qdiag(x)

Value

A vector with the diagonal elements

Arguments

x

The matrix to extract the diagonal from

Author

Claus Ekstrom <claus@rprimer.dk>

Details

Note this function can only be used for extraction