Learn R Programming

MicroMoB (version 0.1.2)

distribute: Distribute items into bins as evenly as possible

Description

Distribute items into bins as evenly as possible

Usage

distribute(n, p)

Value

a numeric vector of bin sizes

Arguments

n

number of bins

p

number of items