%plus% {bbricks}R Documentation

a plus b with NA values

Description

make NA+NA=0 and NA+(not NA)=0 instead of NA+NA=NA and NA+(not NA)=NA

Usage

e1 %plus% e2

Arguments

e1

numeric

e2

numeric

Value

numeric, the sum of "e1" and "e2". The length of the returned vector is the same length as the longest of "e1" or "e2".


[Package bbricks version 0.1.4 Index]