Returns a value for the diagonal of NA and NULL arguments.

Share:

Description

Returns the argument for the diagonal of NA and NULL arguments. For all other arguments, it calls the regular diag function.

Usage

1

Arguments

x

matrix, vector, NA,

...

Other arguments to diag.

Author(s)

Richard M. Heiberger (rmh@temple.edu)

See Also

diag.

Examples

1
2
3

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.