#' Slice and pull
#' @param data tibble
#' @param i integer specifying which row(s) to slice
#' @param j variable name (tidy approach) specifying which column to pull
#'
slice_and_pull <- function(data, i, j) {
data %>%
dplyr::slice(i) %>%
dplyr::pull({{j}})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.