Private function using data.table
objects to preform grouping
operations at a high performance. These functions use non-standard
evaluation in a context that raises warnings in R CMD check
. By
separating these functions from the rest of the code, I hope to make the
workarounds easier to manage.
1 2 3 4 5 6 7 8 9 10 | .clusterAggregateAndSum(clusters, key)
## S4 method for signature 'data.table'
.clusterAggregateAndSum(clusters, key)
## S4 method for signature 'data.frame'
.clusterAggregateAndSum(clusters, key)
## S4 method for signature 'GRanges'
.clusterAggregateAndSum(clusters, key)
|
clusters |
Clusters to be aggregated. |
key |
Name of the column containing the factor used to aggregate the clusters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.