R/cdm_pem_inits_assign_parmlist.R

Defines functions cdm_pem_inits_assign_parmlist

Documented in cdm_pem_inits_assign_parmlist

## File Name: cdm_pem_inits_assign_parmlist.R
## File Version: 0.02


cdm_pem_inits_assign_parmlist <- function(pem_pars, envir)
{
    parmlist <- list()
    NP <- length(pem_pars)
    for (pp in 1:NP){
        p1 <- get( pem_pars[pp], pos=envir )
        parmlist[[ pp ]] <- p1
    }
    names(parmlist) <- pem_pars
    return(parmlist)
}

Try the CDM package in your browser

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

CDM documentation built on Aug. 25, 2022, 5:08 p.m.