munch: Recursively delete entries containing 'what' before entry...

Description Usage Arguments Value Examples

Description

Recursively delete entries containing 'what' before entry pointed to by 'which'

Usage

1
  munch(x, wch, what = "")

Arguments

x

data vector

wch

Vector of indices to check preceding element for 'what'

what

What to check for and delete if found in preceding element

Value

A vector of the same type as x with all the ‘what'’s removed if they were at the 'which'-(1,2,3...) locations

Examples

1
2
x <- c("a","","b","","","","","c","d","","","","e","")
munch( x, c(3,8,9,13) )

gsk3/taRifx documentation built on May 17, 2019, 8:55 a.m.