bad_flush_right: Replace all values with NA upon seeing a bad value

bad_flush_rightR Documentation

Replace all values with NA upon seeing a bad value

Description

Helper for merge_taxa_vec()

Usage

bad_flush_right(x, bad = "BAD", na_bad = FALSE, k = length(x))

Arguments

x

a vector

bad

the string representing a bad value

na_bad

whether NAs should also be treated as bad

k

the index to which values are flushed


mikemc/speedyseq documentation built on April 22, 2024, 6:40 p.m.