| replace_partitioner {partition} | R Documentation |
Replace the director, metric, or reducer for a partitioner
Description
Replace the director, metric, or reducer for a partitioner
Usage
replace_partitioner(partitioner, direct = NULL, measure = NULL, reduce = NULL)
Arguments
partitioner |
a |
direct |
a function that directs, possibly created by |
measure |
a function that measures, possibly created by |
reduce |
a function that reduces, possibly created by |
Value
a partitioner
See Also
Other partitioners:
as_partitioner(),
part_icc(),
part_kmeans(),
part_minr2(),
part_pc1(),
part_stdmi()
Examples
replace_partitioner(
part_icc,
reduce = as_reducer(rowMeans)
)
[Package partition version 0.2.1 Index]