remove_tail: Remove the last k elements from a vector (list) Returns x...

View source: R/file_helper.R

remove_tailR Documentation

Remove the last k elements from a vector (list) Returns x (with a warning) if k < 1

Description

Remove the last k elements from a vector (list) Returns x (with a warning) if k < 1

Usage

remove_tail(x, k = 1)

Arguments

x

the vector

k

the number of items to remove


dipterix/rutabaga documentation built on June 25, 2022, 2:38 p.m.