R/mlnormal_update_control_list.R

Defines functions mlnormal_update_control_list

## File Name: mlnormal_update_control_list.R
## File Version: 0.03

mlnormal_update_control_list <- function(control, control0)
{
    # control0 is the output list
    # the elements in control are written into control0
    if ( ! is.null(control) ){
        N <- length(control)
        for (nn in 1:N){
            control0[[ names(control)[nn] ]] <- control[[nn]]
        }
    }
    return(control0)
}

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.