Skip to contents

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) )
#> [1] NA
current( 1:10 )
#> [1] 10