Package: partitions 1.10-8
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.10-8.tar.gz
partitions_1.10-8.zip(r-4.5)partitions_1.10-8.zip(r-4.4)partitions_1.10-8.zip(r-4.3)
partitions_1.10-8.tgz(r-4.4-x86_64)partitions_1.10-8.tgz(r-4.4-arm64)partitions_1.10-8.tgz(r-4.3-x86_64)partitions_1.10-8.tgz(r-4.3-arm64)
partitions_1.10-8.tar.gz(r-4.5-noble)partitions_1.10-8.tar.gz(r-4.4-noble)
partitions_1.10-8.tgz(r-4.4-emscripten)partitions_1.10-8.tgz(r-4.3-emscripten)
partitions.pdf |partitions.html✨
partitions/json (API)
# 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 3 months agofrom:fd7d31d6eb. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 27 2024 |
R-4.5-win-x86_64 | OK | Oct 27 2024 |
R-4.5-linux-x86_64 | OK | Oct 27 2024 |
R-4.4-win-x86_64 | OK | Oct 27 2024 |
R-4.4-mac-x86_64 | OK | Oct 27 2024 |
R-4.4-mac-aarch64 | OK | Oct 27 2024 |
R-4.3-win-x86_64 | OK | Oct 27 2024 |
R-4.3-mac-x86_64 | OK | Oct 27 2024 |
R-4.3-mac-aarch64 | OK | Oct 27 2024 |
Exports:allbinomas.matrix.partitionas.partitionbintocompblockpartsc_allblockpartsc_alldiffpartsc_allpartsc_allpermsc_allrestrictedpartsc_bintocompc_comptobinc_conjugatec_durfeec_nextblockpartc_nextdiffpartc_nextpartc_nextrestrictedpartc_numbdiffpartsc_numbpartsc_plainpermsc_tobinc_wrapcompositionscomptobincondenseconjugatediffpartsdurfeedurfee_sortedfirstblockpartfirstcompositionfirstdiffpartfirstpartfirstrestrictedpartgenrifislastblockpartislastcompositionislastdiffpartislastpartislastrestrictedpartlistPartsmsetmultinomialmultisetnextblockpartnextcompositionnextdiffpartnextpartnextrestrictedpartnumbrestrictedparts_RPpartspermsplainpermsprintprint.equivalenceprint.partitionprint.summary.partitionQRrestrictedpartsrestrictedsetpartsrestrictedsetparts2riffleSsetpartssummary.partitiontobintodecvec_to_eqvec_to_set
Additive Integer Partitions
Rendered frompartitions.Rnw
usingutils::Sweave
on Oct 27 2024.Last update: 2024-02-24
Started: 2024-02-24
Set partitions in R
Rendered fromsetpartitions.Rnw
usingutils::Sweave
on Oct 27 2024.Last update: 2024-02-24
Started: 2017-08-21
Urn sampling without replacement
Rendered fromscrabble.Rnw
usingutils::Sweave
on Oct 27 2024.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 |