ADDCOL - winkusch/Easy2 GitHub Wiki

Add columns to input.

FUNCTION PARAMETER DEFAULT DESCRIPTION
ADDCOL --rcdAddCol R-Code expression to calculate the added column. Result will be added by cbind() to the input.
ADDCOL --colOut NewCol Name of the added column.
ADDCOL --blnOverwrite TRUE "Boolean value to specify whether existing column should be overwritten. Optional. Default: 1 (Existing column will be overwritten) Please use: [0

Example:

ADDCOL --rcdAddCol pmin(EAF*N,(1-EAF)*N,na.rm=TRUE) --colOut MAC

Output:

Column , (e.g. ‘MAC’ in the example) will be added to the data-set.

⚠️ **GitHub.com Fallback** ⚠️