These functions are simple utilities for creating diagonal, block or correlation matrices.
Arguments
- ...
matrix data.
- correlation
logical; if
TRUE
, off-diagonal elements are assumed to be correlations and converted to covariances.- digits
if greater than zero, matrix is passed to
signif()
(along with digits) prior to returning.