R/Ddim.R

Ddim <- function(x) {
  if (is.vector(x)) return(length(x)) else  return(dim(x))
}

Try the cwhmisc package in your browser

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

cwhmisc documentation built on May 1, 2019, 7:55 p.m.