Description Usage Arguments Value Note Author(s)
View source: R/cit.centroidsFunc.R
aggregate each column of d
by byvar
using function FUN
1 | cit.dfAggregate( data, partition, MARGIN=1, fAggreg=function(x){mean(x, na.rm=TRUE)})
|
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 |
the reduced data.frame data
This is a contribution from the Tumor Identity Cards (CIT) program founded by the 'Ligue Nationale Contre le Cancer' (France): http://cit.ligue-cancer.net. For any question please contact CITR@ligue-cancer.net
Aurelien de Reynies
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.