R/nonames.R

Defines functions nonames.default nonames

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 Aug. 5, 2018, 4:09 p.m.