R/mat2df.R

Defines functions mat2df

Documented in mat2df

##' Convert a Matrix to a DataFrame
##' 
##' Identical to \code{as.matrix.data.frame}, but faster.
##' 
##' @param x A \code{matrix}.
##' @export
mat2df <- function(x) {
  return(.Call(Cmat2df, x))
}

Try the Kmisc package in your browser

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

Kmisc documentation built on May 29, 2017, 1:43 p.m.