#' Inspect a Data Frame
#'
#' Inspect a data frame.
#'
#' @param x A data frame.
#' @param n Integer specifying the number of rows to inspect at random.
#' @export
inspect <- function(x, n = 8) {
dplyr::tbl_df(x[sample(nrow(x), size = n, replace = FALSE), ])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.