rbind_2cols_nonoverlapping: 'rbind' two objects, but make sure that there is no...

Description Usage Arguments Value

View source: R/ExtractData_ClimateDownscaling.R

Description

rbind two objects, but make sure that there is no duplication in two indicator columns.

Usage

1

Arguments

x1

A two dimensional numeric object; the first two columns (e.g., years, months) are matched up against x2.

x2

Same as x1.

Value

The object that would result from rbind(x1, x2) but where any duplication, as determined by the first two columns, is resolved, i.e., copy with NAs is ignored or arithmetic mean across x1 and x2.


Burke-Lauenroth-Lab/rSFSW2 documentation built on Aug. 14, 2020, 5:20 p.m.