na.replace: Mask NA values with other symbol

Description Usage Arguments Value Examples

View source: R/na.replace.R

Description

Replace (i.e. mask) NA values with other symbol

Usage

1
na.replace(obj, replacement = " ")

Arguments

obj

an objecta, that may have NA values

replacement

a replacement for NA values. default is spece (" ").

Value

the same object with NA values replaced.

Examples

1
2
3
4
5
library(pander)
library(magrittr)

summary(CO2[,3:4])  %>% pander()
summary(CO2[,3:4])  %>% na.replace() %>% pander()

GegznaV/spMisc documentation built on April 26, 2020, 5:59 p.m.