R/headtails.r

#' Head/Tails
#'
#' displays first and last 10 lines of data frame or matrix
#' @param x data frame or matrix
#' @return first and last 10 lines of data frame or matrix
#' @export

ht<-function (x) list(head = head(x, 10), tail = tail(x, 10))
B-Davis/bdavis documentation built on March 20, 2020, 11:06 p.m.