R: Get range and number of NAs

range_na {bit} | R Documentation

## Get range and number of NAs

### Description

Get range and number of NAs

### Usage

    range_na(x)

### Arguments

`x` | an integer vector

### Value

an integer vector with three elements

1

  min integer

2

  max integer

3

  number of NAs

### See Also

`range_nanozero` and `range_sortna`

### Examples

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

[Package bit version 4.0.4 Index]