Learn R Programming

replacer (version 1.0.2)

con2fcoales: 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)

Value

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

Arguments

u, z

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