Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

F9-NAtoZer

Dealing With Missing Values


Description

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

Usage

NAtoZer(x)

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

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

muStat

Prentice Rank Sum Test and McNemar Test

v1.7.0
GPL (>= 2)
Authors
Knut M. Wittkowski <kmw@rockefeller.edu> and Tingting Song <ttsong@gmail.com>
Initial release
2010-09-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.