lastVal: Gets the last value of an object

View source: R/util.R

lastValR Documentation

Gets the last value of an object

Description

Gets the last value of an object.

Usage

lastVal(x)

Arguments

x

a vector, object or a list.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

lastVal(1:10)
obj1 <- 1:5
obj2 <- "a character"
lastVal(c(obj1,obj2))

uzh/ezRun documentation built on June 14, 2025, 1:29 p.m.