R/slca_set_seed.R

Defines functions slca_set_seed

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

slca_set_seed <- function(seed)
{
    seed.used <- NULL
    if ( ! is.null(seed) ){
        seed.used <- seed
        set.seed( seed=seed.used )
    }
    #--- output
    res <- list( seed.used=seed.used )
    return(res)
}

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.