filter_reduced {partition} | R Documentation |
Filter the reduced mappings
Description
filter_reduced()
and unnest_reduced()
are convenience functions to
quickly retrieve the mappings for only the reduced variables.
filter_reduced()
returns a nested tibble
while unnest_reduced()
unnests
it.
Usage
filter_reduced(.partition)
unnest_reduced(.partition)
Arguments
.partition |
a |
Value
a tibble
with mapping key
Examples
set.seed(123)
df <- simulate_block_data(c(3, 4, 5), lower_corr = .4, upper_corr = .6, n = 100)
# fit partition
prt <- partition(df, threshold = .6)
# A tibble: 3 x 4
filter_reduced(prt)
# A tibble: 9 x 4
unnest_reduced(prt)
[Package partition version 0.2.1 Index]