Description Usage Arguments Details Examples
This function belongs to script server.R and is used to group Data Frames for any Time Agrupation and Sum Any Column Values, This function is very useful because is possible group by one or more columns.
1 | addGroupByType(data, groupType, dateCol, periodCol, valueCol, ...)
|
data |
Data Frame |
groupType |
Time Agrupation |
dateCol |
Date Column Number were is the Date of the Data Frame |
periodCol |
Period Column Number were is the Period of the Data Frame in case that it be with 'Horario' Time Agrupation |
valueCol |
Value Column Number were is the Value of the Data Frame to be summarized |
... |
After valueCol Param can be referenciated one or more column numbers to be grouped |
This function belongs to server.R script to easily realize operations to group data by any time agrupation
1 | addGroupByType(trmDiaria, "Mensual", 1, 0, 2, "FECHA")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.