make_pairs | R Documentation |
Combinations and permutations of record-sets.
sets(n, r, permutations_allowed = TRUE, repeats_allowed = TRUE)
make_sets(
x,
r,
strata = NULL,
permutations_allowed = TRUE,
repeats_allowed = TRUE
)
make_pairs(
x,
strata = NULL,
repeats_allowed = TRUE,
permutations_allowed = FALSE
)
make_pairs_wf_source(..., data_source = NULL)
n |
|
r |
|
permutations_allowed |
|
repeats_allowed |
|
x |
|
strata |
Subsets of |
... |
Arguments passed to |
data_source |
|
set()
- Create r
-set combinations or permutations of n
observations.
make_set()
- Create r
-set combinations or permutations of vector x
.
make_pairs()
- Create 2
-set combinations or permutations of vector x
.
make_pairs_wf_source()
- Create 2
-set combinations or permutations of vector x
that are from different sources (data_source
).
A list
of a vector's elements and corresponding indexes.
eval_sub_criteria
sets(4, 2)
sets(4, 2, repeats_allowed = FALSE, permutations_allowed = FALSE)
make_sets(month.abb[1:4], 2)
make_sets(month.abb[1:4], 3)
make_pairs(month.abb[1:4])
make_pairs(month.abb[1:4], strata = c(1, 1, 2, 2))
make_pairs_wf_source(month.abb[1:4], data_source = c(1, 1, 2, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.