R/tam_solve_ridge.R

Defines functions tam_solve_ridge

## File Name: tam_solve_ridge.R
## File Version: 0.01

tam_solve_ridge <- function(x, ridge)
{
    diag(x) <- diag(x) + ridge
    return( solve(x) )
}

Try the TAM package in your browser

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

TAM documentation built on Aug. 29, 2022, 1:05 a.m.