fillna: FillNA

Description Usage Arguments Value

View source: R/fillna.R

Description

Replaces NA values in a vector with a value, 0 by default. This is really just a convinence wrapper around replace() to minimize typing.

Usage

1
fillna(x, fill = 0)

Arguments

x

a vector with NA values to be filled

fill

a value to replace any NA values in x. Note that if the class of fill does not match the class of x, x will be coerced to an acceptable class.

Value

a vector with length of x


crazybilly/muadc documentation built on March 6, 2021, 4:15 p.m.