diag.maybe.null: Returns a value for the diagonal of NA and NULL arguments.

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.