Skip to contents

First and last non-NA of a vector

Usage

first_last(v)

Arguments

v

numeric. @return length-2 vector c(first, last). @export