combine_vectors: Returns a character vector made up of two vectors, where if...

View source: R/combine_vectors.R

combine_vectorsR Documentation

Returns a character vector made up of two vectors, where if both are is.na() NA is returned, if one is.na() the other is returned and if neither are is.na() then the first is returned.

Description

Returns a character vector made up of two vectors, where if both are is.na() NA is returned, if one is.na() the other is returned and if neither are is.na() then the first is returned.

Usage

combine_vectors(vec1, vec2)

Arguments

vec1

first character vector

vec2

second character vector


rmsharp/rmsutilityr documentation built on Feb. 13, 2024, 6:01 p.m.