current: Gives the last element, doesn't omit missings

View source: R/shorthands.R

currentR Documentation

Gives the last element, doesn't omit missings

Description

Just a simple shorthand to get the current element (in a formr df, where the last element is always the one from the current session).

Usage

current(x)

Arguments

x

vector of which you want the current element

Examples

current( c(1:10,NA) )
current( 1:10 )

rubenarslan/formr documentation built on Feb. 6, 2024, 1:18 a.m.