'unlist(base) command
When I executed unlist(options()) and unlist(options(),use.names=FALSE) at the command prompt in r, the response given by r was difficult to understand for me.
Would any member of stack overflow explain those list of answers to me?
In the user guide of 'combinat' package of 'r', following examples are given. But I don't understand how to use them?
# A check that every element occurs the same number of times in each position
apply(t(array(unlist(permn(6)), dim = c(6, gamma(7)))), 2, tabulate,nbins = 6)
# Apply, on the fly, the diff function to every permutation
t(array(unlist(permn(6, diff)), dim = c(5, gamma(7))))
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

