na_na2x: NA to something

Description Usage Arguments Value Examples

Description

convert NA to something

Usage

1
na_na2x(s, x = 0)

Arguments

s

The input vector (of arbitrary class)

x

The elements to transform into NA resp. what to transform NA into

Value

A vector with same dimension and class as s

Examples

1
na_na2x(na_x2na(c(1:10),5),5)

jixing475/manuscriptsJX documentation built on April 20, 2020, 9:55 a.m.