coalesce_with_warnings: A re-coding of the coalesce function to include warnings when...

View source: R/coalesce_with_warnings.R

coalesce_with_warningsR Documentation

A re-coding of the coalesce function to include warnings when multiple values are given which are not NA and are different

Description

A re-coding of the coalesce function to include warnings when multiple values are given which are not NA and are different

Usage

coalesce_with_warnings(...)

Arguments

...

vectors of equal length and type to coalesce

Value

vector of coalesced values

Examples

coalesce_with_warnings(c(1, 2, 3), c(4, 5, 6))
coalesce_with_warnings(c(1, 2, 3), c(1, 2, NA))


uclalawcovid19behindbars/behindbarstools documentation built on April 22, 2022, 4:08 a.m.