discard_start_while: Discard all values at the start of .x while .p is true

View source: R/utils.R

discard_start_whileR Documentation

Discard all values at the start of .x while .p is true

Description

Discard all values at the start of .x while .p is true

Usage

discard_start_while(.x, .p)

Arguments

.x

Vector

.p

Logical vector

Value

A vector the same type as .x with leading elements removed.


gutenbergr documentation built on March 15, 2026, 9:06 a.m.