una: Unique non-NA

Description Usage Arguments See Also Examples

View source: R/helperMisc.R

Description

Unique elements, excluding NA's

Usage

1
una(x, na.rm = FALSE, ...)

Arguments

x

a vector from which to take unique values

na.rm

Default FALSE; remove NA's?

...

other arguments to be passed to unique

See Also

lu

Examples

1
2
3
4
5
una(NA)
una(NA, na.rm=TRUE)
una(1:3)
una(c(1:3,NA))
una(c(1:3,NA), na.rm=TRUE)

rBatt/trawlData documentation built on June 30, 2017, 12:59 p.m.