View source: R/verbs_utility.R
| slice | R Documentation |
Select rows by position
slice(.data, ...)
.data |
A |
... |
Integer row indices (positive or negative). |
A data.frame with the selected rows.
f <- tempfile(fileext = ".vtr")
write_vtr(mtcars, f)
tbl(f) |> slice(1, 3, 5)
unlink(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.