nd_remover: Remove non-detect ("<" or ">") flags from sampling data

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/nd_remover.R

Description

Remove greater than and less than flags within a column of data

Usage

1
nd_remover(x, halfDL = FALSE, ...)

Arguments

x

a character vector values

halfDL

logical, substitute half of the detection limit? Default is FALSE (not working)

...

additional arguments passed to other methods

Details

This function removes the "<" flag from the front a sampling result value. Currently, this function is used in conjunction with nd_classifier

Value

Returns a numeric vector

Author(s)

Julie Padilla

See Also

nd_classifier, trimws

Examples

1
2
3
4
5
6
7
8
## Not run: 
x <- c('0.24', '>0.25', '2', '>0.5', '<2.5', '<6')
nd_remover(x)

x <- c('  0.24', '> 0.25', '2 ', '>.5', '<2.5', '<  6')
nd_remover(x, which = 'both')

## End(Not run)

LimnoTech/limnotools documentation built on May 17, 2019, 9:10 a.m.