Skip to contents

Distribute items into bins as evenly as possible

Usage

distribute(n, p)

Arguments

n

number of bins

p

number of items

Value

a numeric vector of bin sizes