F9-NAtoZer: Dealing With Missing Values

Description Usage Arguments Value Author(s) Examples

Description

Any missing values in input data will be converted to 0.

Usage

1

Arguments

x

data object

Value

Returns the input data object x with all missing values replaced by 0.

Author(s)

Knut M. Wittkowski kmw@rockefeller.edu

Examples

1
2
NAtoZer(c(2, 4, NA, 5))
# [1] 2 4 0 5


Search within the muStat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.