pkgdown/mathjax-config.html

Skip to contents

Select rows by position

Usage

slice(.data, ...)

Arguments

.data

A vectra_node object.

...

Integer row indices (positive or negative).

Value

A data.frame with the selected rows.

Examples

f <- tempfile(fileext = ".vtr")
write_vtr(mtcars, f)
tbl(f) |> slice(1, 3, 5)
unlink(f)