add.diag: Add something to the diagonal

Description Usage Arguments Value

View source: R/add.diag.R

Description

Function to add numeric to the diagonal of a matrix

Usage

1
add.diag(M, d)

Arguments

M

Matrix

d

Vector to add to the diagonal of the matrix

Value

Matrix with increased diagonal elements


MoBPS documentation built on March 31, 2020, 5:22 p.m.

Related to add.diag in MoBPS...