grapes-plus-grapes: a plus b with NA values

Description Usage Arguments Value

Description

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

Usage

1
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".


bbricks documentation built on July 8, 2020, 7:29 p.m.