R/nonames.R

nonames <- function(x){
  UseMethod("nonames")
}

nonames.default <- function(x){
  names(x) <- NULL
  attributes(x) <- NULL
  x
}

nonames.array <- nonames.matrix <- function(x){
  dimnames(x) <- NULL
  x
}
MangoTheCat/RNMImport documentation built on May 8, 2019, 4:36 p.m.