cit.dfAggregate: cit.dfAggregate
Description
aggregate each column of d by byvar using function FUNUsage
cit.dfAggregate( data, partition, MARGIN=1, fAggreg=function(x){mean(x, na.rm=TRUE)})
Arguments
data
a dataframe of numeric data
partition
a vector on which to aggregate
MARGIN
1 : to aggregate rows ; 2 : to aggregate columns
fAggreg
the function to aggregate data by partition