cpp_rep_na_chr: Remove 'NA' from 'CharacterVector'

Description Usage Arguments Details Value Examples

View source: R/RcppExports.R

Description

This function removes NA values from CharacterVectors.

Usage

1

Arguments

xin

CharacterVector potentially containing removable NA values.

rep

std::string value to replace NAs occuring in xin.

Details

This function accepts a character input vector and then replaces each contained NA value with the std::string specified in the parameter rep.

Value

CharacterVector that is equal to xin except the NA values which have been replaced with rep.

Examples

1
KaggleHouse:::cpp_rep_na_chr(c("a", "b", NA), "c")

MarcoNiemann/kaggle_house documentation built on May 7, 2019, 2:50 p.m.