na.zero {hivEstimatesAccuracy}R Documentation

na.zero

Description

Sets NAs to zero.

Usage

na.zero(x)

Arguments

x

A numeric vector. No test that x is numeric.

Value

Vector of length of x, but with NA's replaced by 0.

Examples

na.zero(c(1, NA))


[Package hivEstimatesAccuracy version 1.0.6 Index]