DIAG {JICO} | R Documentation |
Generate diagonal matrix
Description
This function returns a diagonal matrix using the input vector or number as diagonal.
Usage
DIAG(e)
Arguments
e |
Diagonal element. Can be a vector or a number |
Value
A square diagonal matrix using the input as diagonal elements
[Package JICO version 0.0 Index]