Description Usage Arguments Details Value ff options Note Author(s) See Also Examples
These are used in aggregating the chunks resulting from batch processing. They are usually called via do.call
1 2 3 4 5 6 7 8 9 |
... |
|
FUN |
a aggregating function |
FUNARGS |
further arguments to the aggregating function |
na.rm |
TRUE to remove NAs |
probs |
see |
names |
see |
type |
see |
CFUN | FUN | comment |
ccbind | cbind | like cbind but respecting names |
crbind | rbind | like rbind but respecting names |
cfun | crbind the input chunks and then apply 'FUN' to each column |
|
cquantile | quantile | crbind the input chunks and then apply 'quantile' to each column |
csummary | summary | crbind the input chunks and then apply 'summary' to each column |
cmedian | median | crbind the input chunks and then apply 'median' to each column |
clength | length | crbind the input chunks and then determine the number of values in each column |
csum | sum | crbind the input chunks and then determine the sum values in each column |
cmean | mean | crbind the input chunks and then determine the (unweighted) mean in each column |
In order to use CFUNs on the result of lapply
or ffapply
use do.call
.
depends on the CFUN used
xx TODO: extend this for weighted means, weighted median etc.,
see http://tolstoy.newcastle.edu.au/R/help/02a/1073.html and http://tolstoy.newcastle.edu.au/R/help/02a/1060.html or google "Re: [R] Weighted median"
Currently - for command line convenience - we map the elements of a single list argument to ..., but this may change in the future.
Jens Oehlschlägel
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.