R/mlnormal_check_matrix_list_difference.R

Defines functions mlnormal_check_matrix_list_difference

## File Name: mlnormal_check_matrix_list_difference.R
## File Version: 0.04

mlnormal_check_matrix_list_difference <- function( matlist1, matlist2 ){
    G <- length(matlist1)
    val <- 0
    for (gg in 1:G){
        val_gg <- max( abs( matlist1[[gg]] - matlist2[[gg]] ))
        if ( val_gg > val ){
            val <- val_gg
        }
    }
    return(val)
}

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.