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 April 29, 2020, 1:05 a.m.