Learn R Programming

bit (version 4.5.0.1)

range_na: Get range and number of NAs

Description

Get range and number of NAs

Usage

range_na(x)

Value

an integer vector with three elements

1

min integer

2

max integer

3

number of NAs

Arguments

x

an integer vector

See Also

range_nanozero and range_sortna

Examples

Run this code
range_na(c(0L,1L,2L,NA))

Run the code above in your browser using DataLab