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))
}
kevinushey/Kmisc documentation built on May 20, 2019, 9:08 a.m.