con2fcoales: Helper for coalescing vectors of different types

View source: R/con2fcoales.R

con2fcoalesR Documentation

Helper for coalescing vectors of different types

Description

This helper prevents the error in fcoalesce when attempting to coalesce two vectors of different data type (double/integer).

Usage

con2fcoales(u, z)

Arguments

u, z

Vectors of equal length and of different data types (e.g. double and integer). Missing values are accepted.

Value

A double data type vector of same length as the arguments.


replacer documentation built on Aug. 20, 2022, 1:06 a.m.