first: Function first

firstR Documentation

Function first

Description

Returns the first element of a vector.

Usage

first(x, s = 0, factorsAsStrings = T)

Arguments

x

A vector or list.

Details

Returns the first element of a vector.

Examples

first(c(1,2,3))

AndreasFischer1985/quantqual documentation built on June 20, 2022, 4:55 p.m.