R/empty.R

#Check if a data frame is empty

empty <- function (df)
{
  (is.null(df) || nrow(df) == 0 || ncol(df) == 0)
}

Try the MRPC package in your browser

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

MRPC documentation built on April 11, 2022, 5:10 p.m.