map_partition {partition} | R Documentation |
Map a partition across a range of minimum information
Description
map_partition()
fits partition()
across a range of minimum information
values, specified in the information
argument. The output is a tibble with
a row for each value of information
, a summary of the partition, and a
list-col
containing the partition
object.
Usage
map_partition(
.data,
partitioner = part_icc(),
...,
information = seq(0.1, 0.5, by = 0.1)
)
Arguments
.data |
a data set to partition |
partitioner |
the partitioner to use. The default is |
... |
arguments passed to |
information |
a vector of minimum information to fit in |
Value
a tibble
Examples
set.seed(123)
df <- simulate_block_data(c(3, 4, 5), lower_corr = .4, upper_corr = .6, n = 100)
map_partition(df, partitioner = part_pc1())
[Package partition version 0.2.1 Index]