bdiag_check: Create block diagonal matrix (safe version)

View source: R/utility.R

bdiag_checkR Documentation

Create block diagonal matrix (safe version)

Description

This version of bdiag checks whether the matrices passed as arguments are NULL. This avoids errors that would arise if using bdiag directly.

Usage

bdiag_check(...)

Arguments

...

Matrix or list of matrices (only the first argument is used)

Value

Block diagonal matrix


TheoMichelot/hmmTMB documentation built on Dec. 13, 2024, 11:52 a.m.