R/flatten.R

Defines functions flatten

Documented in flatten

flatten <-
function(x) {
    nom <- dimnames(x)
    dimnames(x) <- NULL
    n <- dim(x)
    dim(x) <- c(n[1], n[2] * n[3])
    x
}

Try the CA3variants package in your browser

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

CA3variants documentation built on Oct. 10, 2022, 5:07 p.m.