Returns a value for the diagonal of NA and NULL arguments.
Returns the argument for the diagonal of NA and NULL arguments.
For all other arguments, it calls the regular diag
function.
diag.maybe.null(x, ...)
x |
matrix, vector, NA, |
... |
Other arguments to |
Richard M. Heiberger (rmh@temple.edu)
diag
.
diag.maybe.null(NULL) diag.maybe.null(NA) diag.maybe.null(1:5)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.