fix.missing: Fix missing

Description Usage Arguments Examples

View source: R/fixmissing.r

Description

Fix missing values by turning missing codes to NA.

Usage

1
fix.missing(x, na.value)

Arguments

x

A vector of values

na.value

A missing value code

Examples

1
2
3
4
5
## Not run: 
x <- c(-99, 22, 15)
x <- fix.missing(x, "-99")

## End(Not run)

cdcrabtree/helprr documentation built on Dec. 24, 2017, 2:12 p.m.