R/ht.R

Defines functions ht

Documented in ht

#' Print head and tail
#' 
#' @param data data.frame
#' @param n n
#' @export
ht = function(data, n = 4) {
  rbind(head(data, n), tail(data, n))
}
philippstats/RRmisc documentation built on May 25, 2019, 5:04 a.m.