R/cdm_matrix1.R

Defines functions cdm_matrix1

Documented in cdm_matrix1

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

cdm_matrix1 <- function( x, ncol )
{
    x <- as.vector(x)
    y <- matrix( x, nrow=length(x), ncol=ncol, byrow=FALSE )
    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.