#' Get first 10 and last 10 rows of a data frame
#'
#' @param d A data frame
#' @export
#' @examples
#' ht(mtcars)
ht <- function(d) {
rbind(utils::head(d,10), utils::tail(d,10))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.