R/summary.ustyc.R

Defines functions summary.ustyc

#' @export
summary.ustyc <- function(object,...) {
  results <- c(nrow(object$df),
               ifelse(is.null(object$month),"All",object$month),
               ifelse(is.null(object$year),"All",object$year),
               object$updated)
  names(results) <- c("rows","month","year","updated")
  results
}

Try the ustyc package in your browser

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

ustyc documentation built on May 2, 2019, 9:37 a.m.