View source: R/dplyr_custom_functions.R
slice_ht | R Documentation |
This is a modified version of dplyr::slice_* that allows slicing n rows from both head and tail.
slice_ht(.data, n, prop)
.data |
A data frame, or data frame extension (e.g. a tibble). |
n |
The number of rows to slice from both head and tail (e.g. n = 5 means 5 from head and 5 from tail). Defaults to 5. |
prop |
asdf |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.