View source: R/is_permutation.R
is_permutation | R Documentation |
Check whether x
is a permutation of the multi-set s
.
is_permutation(x, s)
x |
[ |
s |
[ |
A scalar logical value.
is_permutation(shuffle(1:10), 1:10)
is_permutation(c(2, 1, 4), s = 1:4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.