diag_log_lower: Get log diagonal and lower triangular entries

View source: R/misc.R

diag_log_lowerR Documentation

Get log diagonal and lower triangular entries

Description

Applies log to only diagonal elements of matrix.

Usage

diag_log_lower(mat)

Arguments

mat

A matrix.

Value

Vector of log diagonal elements and lower triangular entries of the matrix, going down column by column.

Examples

diag_log_lower(matrix(c(1:4), nrow=2))


longjess/hornsharkHMM documentation built on June 15, 2022, 11:32 p.m.