Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

range_nanozero

Remove zeros and get range and number of NAs


Description

Remove zeros and get range and number of NAs

Usage

range_nanozero(x)

Arguments

x

an integer vector

Value

an integer vector without zeros and with an attribute range_na with three elements

1

min integer

2

max integer

3

number of NAs

See Also

Examples

range_nanozero(c(0L,1L,2L,NA))

bit

Classes and Methods for Fast Memory-Efficient Boolean Selections

v4.0.4
GPL-2 | GPL-3
Authors
Jens Oehlschlägel [aut, cre], Brian Ripley [ctb]
Initial release
2020-08-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.