combine_upperlower: Combine upper and lower part of a matrix.

View source: R/misc.R

combine_upperlowerR Documentation

Combine upper and lower part of a matrix.

Description

Returns a matrix composed of an upper and a upper part.

Usage

combine_upperlower(.upper.tri, .lower.tri, .diag = NA)

Arguments

.upper.tri

a matrix or data.frame for the upper trianagle.

.lower.tri

a matrix or data.frame for the lower trianagle.

.diag

a value to insert in the diagonal. Defaults to NA.


Deleetdk/kirkegaard documentation built on June 7, 2024, 7:49 a.m.