R/dim_ldat.R

Defines functions dim.ldat

#' @export
dim.ldat <- function(x) {
  ncol <- length(x)
  nrow <- if (ncol == 0) 0 else length(x[[1]])
  c(nrow, ncol)
}

Try the ldat package in your browser

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

ldat documentation built on March 26, 2020, 7:59 p.m.