Learn R Programming

do (version 2.0.0.1)

last_column: Select dataframe column from last

Description

Select dataframe column from last

Usage

last_column(x, n)

Value

last column

Arguments

x

dataframe

n

If missing, the last element will be used.

Examples

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

Run the code above in your browser using DataLab