makePD: PD approximation of a matrix.

Description Usage Arguments Value

View source: R/Gooogle.R

Description

The function uses eigen values and eigen vectors to recreate a pd matrix.

Usage

1
makePD(mat)

Arguments

mat

A matrix input.

Value

The function returns a modified matrix which is pd.


himelmallick/Gooogle documentation built on July 24, 2019, 1:52 a.m.