assign_partition()
is the primary handler for the partition algorithm and
is iterated by reduce_partition_c()
. assign_partition()
does initial set
up of the partition_step
object and then applies the partitioner
to each
iteration of the partition_step
via direct_measure_reduce()
.
assign_partition(.x, partitioner, .data, threshold, tolerance, var_prefix)
the data or a partition_step
object
a partitioner
. See the part_*()
functions and
as_partitioner()
.
a data.frame to partition
the minimum proportion of information explained by a reduced
variable; threshold
sets a boundary for information loss because each
reduced variable must explain at least as much as threshold
as measured
by the metric.
a small tolerance within the threshold; if a reduction is within the threshold plus/minus the tolerance, it will reduce.
a partition_step
object