Groups input data.frame by its columns "Jahr" and "Spree_km".
Usage
hsGroupByYearAndKm(
frmData,
strValField,
boolDescKm = FALSE,
boolDescYr = FALSE,
vecMp = NULL
)
Arguments
- frmData
data.frame with columns "Jahr" and "Spree_km"
- strValField
Name of value field in input data.frame of which for each Jahr/Spree_km group the sum will be calculated.
- boolDescKm
if TRUE, columns in result matrix will be ordered according to decreasing "Spree_km" values
- boolDescYr
if TRUE, columns in result matrix will be ordered according to decreasing "Jahr" values
- vecMp
Vector containing pairs of km value and monitoring point name