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

Description Usage Arguments Author(s) See Also Examples

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


Search within the HH package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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