R/mlnormal_covmat_add_ridge.R

Defines functions mlnormal_covmat_add_ridge

## File Name: mlnormal_covmat_add_ridge.R
## File Version: 0.07

mlnormal_covmat_add_ridge <- function( covmat, eps=1E-10)
{
    diag(covmat) <- diag(covmat) + eps
    return(covmat)
}

Try the LAM package in your browser

Any scripts or data that you put into this service are public.

LAM documentation built on May 18, 2022, 5:17 p.m.