Arbor
Arbor docs

addColumns : function


collection: base


Overview

addColumns can be used to find the sum of two columns in a data matrix.

Example

From the [docs] (/../docs/ ) page, get anolis.csv. Load this files into Arbor, and use it as input to the addColumns function. Choose “SVL” and “awesomeness” as columnOne and columnTwo, respectively. Name the outputColumn whatever you want.

The output is a table with all the data from anolis.csv along with a new column that shows the sum of SVL and awesomeness.

Arguments

Outputs

Function outputs a table with a new column appended to the end.