Learn R Programming

gmatrix (version 0.3)

diag: Matrix Diagonals

Description

Extract or replace the diagonal of a matrix, or construct a diagonal matrix. Implemented much the same as in R base.

Arguments

Methods

signature(x = "ANY")
signature(x = "gmatrix")