last_row: Select dataframe row from last

View source: R/last.R

last_rowR Documentation

Select dataframe row from last

Description

Select dataframe row from last

Usage

last_row(x, n)

Arguments

x

dataframe

n

If missing, the last element will be used.

Value

last row

Examples

mtcars |> last_row()
mtcars |> last_row(1:2)

do documentation built on Sept. 12, 2024, 6:27 a.m.