rpartitions: Code for integer partitioning
Version 0.1

Provides algorithims for randomly sampling a feasible set defined by a given total and number of elements using integer partitioning.

AuthorKen Locey, Daniel McGlinn
Date of publication2013-12-11 07:34:59
MaintainerDaniel McGlinn <danmcglinn@gmail.com>
LicenseMIT
Version0.1
URL https://github.com/klocey/partitions
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("rpartitions")

Getting started

README.md

Popular man pages

conjugate: Find the conjugate of an integer partition Recoded (orginally...
get_multiplicity: Find the number of times a value k occurs in a partition that...
last: Returns the last element of a vector
NrParts: Find the number of partitions for a given total Q and number...
P: Number of partitions of Q with k or less parts.
rand_partitions: Generate uniform random partitions of Q having N parts.
top_down: Top down method of generating uniform random partitions of Q...
See all...

All man pages Function index File listing

Man pages

bottom_up: Bottom up method of generating uniform random partitions of Q...
conjugate: Find the conjugate of an integer partition Recoded (orginally...
divide_and_conquer: Divide and conquer method of generating uniform random...
get_multiplicity: Find the number of times a value k occurs in a partition that...
get_rand_int: Generate a random integer between two integers
last: Returns the last element of a vector
multiplicity: multiplicity method of generating uniform random partitions...
NrParts: Find the number of partitions for a given total Q and number...
P: Number of partitions of Q with k or less parts.
rand_partitions: Generate uniform random partitions of Q having N parts.
rpartitions: rpartitions
top_down: Top down method of generating uniform random partitions of Q...

Functions

NrParts Man page Source code
P Man page Source code
bottom_up Man page Source code
conjugate Man page Source code
divide_and_conquer Man page Source code
get_multiplicity Man page Source code
get_rand_int Man page Source code
last Man page Source code
multiplicity Man page Source code
rand_partitions Man page Source code
rpartitions Man page
rpartitions-package Man page
top_down Man page Source code

Files

inst
inst/CITATION
inst/tests
inst/tests/testfiles
inst/tests/testfiles/sage_q=50_n=10.txt
inst/tests/testfiles/sage_q=200_n=40.txt
inst/tests/testfiles/sage_q=100_n=20.txt
inst/tests/testfiles/sage_zeros_q=200_n=40.txt
inst/tests/testfiles/sage_zeros_q=50_n=10.txt
inst/tests/testfiles/sage_zeros_q=100_n=20.txt
inst/tests/test_rpartitions.R
inst/tests/run-all.R
src
src/partitions.c
NAMESPACE
R
R/rpartitions.R
R/rpartitions-package.r
README.md
MD5
DESCRIPTION
man
man/rpartitions.Rd
man/last.Rd
man/P.Rd
man/bottom_up.Rd
man/top_down.Rd
man/multiplicity.Rd
man/get_multiplicity.Rd
man/divide_and_conquer.Rd
man/NrParts.Rd
man/get_rand_int.Rd
man/conjugate.Rd
man/rand_partitions.Rd
rpartitions documentation built on May 19, 2017, 7:57 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.