R/cdm_create_vector.R

Defines functions cdm_create_vector

## File Name: cdm_create_vector.R
## File Version: 0.01

cdm_create_vector <- function(names, val)
{
    N <- length(names)
    y <- rep(val, N)
    names(y) <- names
    return(y)
}

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.