vector_calc.Rd
This function allow you to calcul data from a simple selection to add a
description. The vector_calc
name can be missleading.
vector_calc(model, tag_to_create, func_to_apply, wanted_tag, start, end)
An AnalysR model
Label to write in description table
A function to apply to the vector selected.
The name of the measures we want to work on. (not mandatory)
A date marking the beginning of the studied time period (not mandatory)
A date marking the end of the studied time period. (not mandatory)
Setting a value to start
, end
, and wanted_tag
would make the
vector_calc
function on measure table, almost like create_feature
.
If you do not provide a start/end, vector_calc
would try to work on the
selection table.
The result is always in the description table.