R/attach_environment.R

Defines functions attach_environment

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


#######################################
# attach all elements in an environment
attach_environment <- function( res, envir )
{
    CC <- length(res)
    for (cc in 1:CC){
        assign( names(res)[cc], res[[cc]], envir=envir )
    }
}

.attach.environment <- attach_environment
alexanderrobitzsch/CDM documentation built on Aug. 30, 2022, 12:31 a.m.