con2fcoales {replacer}R 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.


[Package replacer version 1.0.2 Index]