Learn R Programming

do (version 2.0.0.1)

last_row: Select dataframe row from last

Description

Select dataframe row from last

Usage

last_row(x, n)

Value

last row

Arguments

x

dataframe

n

If missing, the last element will be used.

Examples

Run this code
mtcars |> last_row()
mtcars |> last_row(1:2)

Run the code above in your browser using DataLab