Package: partitions 1.11-1
partitions: Additive Partitions of Integers
Additive partitions of integers. Enumerates the partitions, unequal partitions, and restricted partitions of an integer; the three corresponding partition functions are also given. Set partitions and now compositions and riffle shuffles are included.
Authors:
partitions_1.11-1.tar.gz
partitions_1.11-1.zip(r-4.7)partitions_1.11-1.zip(r-4.6)partitions_1.11-1.zip(r-4.5)
partitions_1.11-1.tgz(r-4.6-x86_64)partitions_1.11-1.tgz(r-4.6-arm64)partitions_1.11-1.tgz(r-4.5-x86_64)partitions_1.11-1.tgz(r-4.5-arm64)
partitions_1.11-1.tar.gz(r-4.7-arm64)partitions_1.11-1.tar.gz(r-4.7-x86_64)partitions_1.11-1.tar.gz(r-4.6-arm64)partitions_1.11-1.tar.gz(r-4.6-x86_64)
partitions_1.11-1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
partitions/json (API)
NEWS
| # Install 'partitions' in R: |
| install.packages('partitions', repos = c('https://robinhankin.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/robinhankin/partitions/issues
Last updated from:e8794c8348. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 113 | ||
| linux-devel-x86_64 | OK | 120 | ||
| source / vignettes | OK | 266 | ||
| linux-release-arm64 | OK | 117 | ||
| linux-release-x86_64 | OK | 145 | ||
| macos-release-arm64 | OK | 99 | ||
| macos-release-x86_64 | OK | 232 | ||
| macos-oldrel-arm64 | OK | 81 | ||
| macos-oldrel-x86_64 | OK | 234 | ||
| windows-devel | OK | 99 | ||
| windows-release | OK | 106 | ||
| windows-oldrel | OK | 89 | ||
| wasm-release | OK | 103 |
Exports:allbinomas.partitionbintocompblockpartscompositionscomptobincondenseconjugatediffpartsdurfeedurfee_sortedfirstblockpartfirstcompositionfirstdiffpartfirstpartfirstrestrictedpartgenrifislastblockpartislastcompositionislastdiffpartislastpartislastrestrictedpartlistPartsmsetmultinomialmultisetnextblockpartnextcompositionnextdiffpartnextpartnextrestrictedpartPpartspermsplainpermsQRrestrictedpartsrestrictedsetpartsrestrictedsetparts2riffleSsetpartstobintodecvec_to_eqvec_to_set
Additive Integer Partitions
Rendered frompartitions.Rnwusingutils::Sweaveon May 21 2026.Last update: 2024-02-24
Started: 2024-02-24
Set partitions in R
Rendered fromsetpartitions.Rnwusingutils::Sweaveon May 21 2026.Last update: 2024-02-24
Started: 2017-08-21
Urn sampling without replacement
Rendered fromscrabble.Rnwusingutils::Sweaveon May 21 2026.Last update: 2024-02-24
Started: 2017-08-21
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Integer partitions | partitions-package partitions |
| Coerce partitions to matrices and vice versa | as.matrix.partition as.partition |
| Sundry binary functionality | bin bintocomp comptobin tobin todec |
| Condensed form for partitions | condense |
| Conjugate partitions and Durfee squares | conjugate Durfee durfee durfee_sorted |
| Next partition | firstblockpart firstcomposition firstdiffpart firstpart firstrestrictedpart islastblockpart islastcomposition islastdiffpart islastpart islastrestrictedpart nextblockpart nextcomposition nextdiffpart nextpart nextrestrictedpart |
| Number of partitions of an integer | P Q R S |
| Enumerate the partitions of an integer | allbinom blockparts compositions c_allblockparts c_alldiffparts c_allparts c_allperms c_allrestrictedparts c_bintocomp c_comptobin c_conjugate c_durfee c_multiset c_nextblockpart c_nextdiffpart c_nextpart c_nextrestrictedpart c_numbdiffparts c_numbparts c_plainperms c_tobin c_wrap diffparts mset multinomial multiset numbrestrictedparts_R parts restrictedparts |
| Enumerate the permutations of a vector | perms plainperms |
| Print methods for partition objects and equivalence objects | print print.equivalence print.partition print.summary.partition |
| Riffle shuffles | allriffles genrif riffle |
| Set partitions | listParts restrictedsetparts restrictedsetparts2 setparts vec_to_eq vec_to_set |
| Provides a summary of a partition | summary.partition |
